diff --git a/CHANGELOG.md b/CHANGELOG.md index 667ce5e4409..9c92918e94b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v ## [Unreleased] +## [5.27.0] - 2023-09-13 + +- Improves message of `OdataError`(https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2094,https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1954) +- Latest metadata updates from 12th September 2023. ## [5.26.0] - 2023-09-06 diff --git a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs index 47e73ad77bc..40d83db5402 100644 --- a/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs @@ -60,7 +60,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update admin @@ -81,7 +81,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Admin.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get admin diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/EdgeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/EdgeRequestBuilder.cs index 0a43ce4298d..69972340d1b 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/EdgeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/EdgeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// A container for Microsoft Edge resources. Read-only. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Edge.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Edge.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property edge in admin @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Edge.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Edge.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property edge for admin diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs index 75adcb4b92a..3685250e4d3 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/InternetExplorerModeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// A container for Internet Explorer mode resources. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.InternetExplorerMode.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InternetExplorerMode.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property internetExplorerMode in admin @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.InternetExplorerMode.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InternetExplorerMode.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property internetExplorerMode for admin diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs index b692cc276d7..a5cd12d2046 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs index 6eac5eb358b..43604efc9ea 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/BrowserSiteListItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Get a browserSiteList that contains browserSite and browserSharedCookie resources. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a browserSiteList object. @@ -103,7 +103,7 @@ public async Task PatchAsync(BrowserSiteList body, Action(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a browserSiteList object. diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs index 4eed2ba320a..e8e0d98db84 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Publish/PublishRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(PublishPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Publish the specified browserSiteList for devices to download. diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs index abfbf6b81cf..fe853443cd3 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs index cd7eb5ada09..4ae585824d6 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/Item/BrowserSharedCookieItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a session cookie that can be shared between a Microsoft Edge process and an Internet Explorer process, while using Internet Explorer mode. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a browserSharedCookie object. @@ -88,7 +88,7 @@ public async Task PatchAsync(BrowserSharedCookie body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a browserSharedCookie from a browserSiteList. diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs index 6af6f2cb3e1..0db0ad76dcb 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/SharedCookies/SharedCookiesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSharedCookieCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookieCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new browserSharedCookie object in a browserSiteList. @@ -81,7 +81,7 @@ public async Task PostAsync(BrowserSharedCookie body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSharedCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the browserSharedCookie objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs index d457641a0a3..0aaf777d464 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs index 2b50b377033..e3db940930c 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/Item/BrowserSiteItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a browserSite that resides on a browserSiteList. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a browserSite object. @@ -88,7 +88,7 @@ public async Task PatchAsync(BrowserSite body, Action(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a browserSite from a browserSiteList. diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs index 9624ccdf51c..ee6d8446a72 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/Item/Sites/SitesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new browserSite object in a browserSiteList. @@ -81,7 +81,7 @@ public async Task PostAsync(BrowserSite body, Action(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSite.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the browserSite objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs index a1cfb469c9d..05f1bdc336a 100644 --- a/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Edge/InternetExplorerMode/SiteLists/SiteListsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BrowserSiteListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSiteListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new browserSiteList object to support Internet Explorer mode. @@ -81,7 +81,7 @@ public async Task PostAsync(BrowserSiteList body, Action(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BrowserSiteList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the browserSiteList objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs index 5c9f2b3c6cf..cef8985507c 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs index 05f19a0b98e..26e4805afe5 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/HealthOverviewsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ServiceHealthCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to healthOverviews for admin @@ -80,7 +80,7 @@ public async Task PostAsync(ServiceHealth body, Action(requestInfo, ServiceHealth.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealth.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the serviceHealth resources from the healthOverviews navigation property. This operation provides the health report of all subscribed services for a tenant. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs index 6f922c3b5c8..e46a1cb6ad3 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs index 2ee2b518570..046baa49bfb 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/IssuesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ServiceHealthIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to issues for admin @@ -79,7 +79,7 @@ public async Task PostAsync(ServiceHealthIssue body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of issues that happened on the service, with detailed information for each issue. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs index f1980dd98d0..d43aaf9bcad 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function incidentReport diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs index b9ace7d576e..05a63494cca 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// A collection of issues that happened on the service, with detailed information for each issue. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property issues in admin @@ -90,7 +90,7 @@ public async Task PatchAsync(ServiceHealthIssue body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property issues for admin diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs index 50eba05645f..9505ac6aceb 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ServiceHealth.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealth.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property healthOverviews in admin @@ -91,7 +91,7 @@ public async Task PatchAsync(ServiceHealth body, Action(requestInfo, ServiceHealth.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealth.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property healthOverviews for admin diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs index a842cfdb8db..41d3d74bf21 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs index 34bf0c36ac8..f5c739ed5cd 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/IssuesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ServiceHealthIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to issues for admin @@ -80,7 +80,7 @@ public async Task PostAsync(ServiceHealthIssue body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve serviceHealthIssue resources from the issues navigation property. This operation retrieves information about all service health issues that exist for the tenant. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs index 829b2b7fea4..89b9e51ee29 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/IncidentReport/IncidentReportRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function incidentReport diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs index dd2ac285e1c..5dde94d10c6 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Issues/Item/ServiceHealthIssueItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property issues in admin @@ -91,7 +91,7 @@ public async Task PatchAsync(ServiceHealthIssue body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceHealthIssue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property issues for admin diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs index c9d7df403a2..0e1f4255eb3 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Archive/ArchiveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ArchivePostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ArchiveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArchiveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Archive a list of serviceUpdateMessages for the signed in user. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs index 72344e36a22..8198f15aad3 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs index bafc86a3a83..3da037fc00f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Favorite/FavoriteRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FavoritePostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FavoriteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FavoriteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Change the status of a list of serviceUpdateMessages to favorite for the signed in user. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index ee27dfb1171..c6051b2e64f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attachments for admin @@ -80,7 +80,7 @@ public async Task PostAsync(ServiceAnnouncementAt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of attachments associated with a service message. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs index 964ad70daf7..b77f293be20 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs index d5af3816a9d..dd43e19aacd 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The attachment content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The attachment content. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs index 045ceeb62fa..54c2723e64e 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/Attachments/Item/ServiceAnnouncementAttachmentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a serviceAnnouncementAttachment object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attachments in admin @@ -91,7 +91,7 @@ public async Task PatchAsync(ServiceAnnouncementA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceAnnouncementAttachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for admin diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs index 09ceb7c6e0e..f7f4af02b1f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/AttachmentsArchive/AttachmentsArchiveRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The zip file that contains all attachments for a message. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The zip file that contains all attachments for a message. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs index adaf19225e7..58fe06ff98f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Item/ServiceUpdateMessageItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a serviceUpdateMessage object. This operation retrieves a specified service update message for the tenant. The operation returns an error if the message does not exist for the tenant. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, ServiceUpdateMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceUpdateMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in admin @@ -96,7 +96,7 @@ public async Task PatchAsync(ServiceUpdateMessage body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceUpdateMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceUpdateMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for admin diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs index a20aec4cc0e..3c5344eba0d 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkRead/MarkReadRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkReadPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MarkReadResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MarkReadResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a list of serviceUpdateMessages as read for the signed in user. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs index 0d896ef7a2f..401a8930364 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MarkUnread/MarkUnreadRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkUnreadPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MarkUnreadResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MarkUnreadResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a list of serviceUpdateMessages as unread for the signed in user. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs index 6dcab790067..586a40ff0ba 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/MessagesRequestBuilder.cs @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ServiceUpdateMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceUpdateMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to messages for admin @@ -110,7 +110,7 @@ public async Task PostAsync(ServiceUpdateMessage body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServiceUpdateMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServiceUpdateMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the serviceUpdateMessage resources from the messages navigation property. This operation retrieves all service update messages that exist for the tenant. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs index 602ca9920dc..a893d49cf25 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unarchive/UnarchiveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UnarchivePostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnarchiveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnarchiveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unarchive a list of serviceUpdateMessages for the signed in user. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs index ad92749565d..2b24ec5406f 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/Messages/Unfavorite/UnfavoriteRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UnfavoritePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnfavoriteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnfavoriteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove the favorite status of serviceUpdateMessages for the signed in user. diff --git a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs index 4b289ceaa4f..d0732eda354 100644 --- a/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// A container for service communications resources. Read-only. @@ -79,7 +79,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ServiceAnnouncement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ServiceAnnouncement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property serviceAnnouncement in admin @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ServiceAnnouncement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ServiceAnnouncement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property serviceAnnouncement for admin diff --git a/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs index 8231fcec8e0..2fbaa9769be 100644 --- a/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Sharepoint/Settings/SettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the tenant-level settings for SharePoint and OneDrive. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SharepointSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharepointSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update one or more tenant-level settings for SharePoint and OneDrive. @@ -87,7 +87,7 @@ public async Task PatchAsync(SharepointSettings body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharepointSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharepointSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property settings for admin diff --git a/src/Microsoft.Graph/Generated/Admin/Sharepoint/SharepointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Admin/Sharepoint/SharepointRequestBuilder.cs index 40f7f7619db..87d2c5a6e2c 100644 --- a/src/Microsoft.Graph/Generated/Admin/Sharepoint/SharepointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Admin/Sharepoint/SharepointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get sharepoint from admin @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Sharepoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Sharepoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharepoint in admin @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Sharepoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Sharepoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sharepoint for admin diff --git a/src/Microsoft.Graph/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index a310a1d5fff..1c4c0114c6b 100644 --- a/src/Microsoft.Graph/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -53,7 +53,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to agreementAcceptances @@ -74,7 +74,7 @@ public async Task PostAsync(AgreementAcceptance body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from agreementAcceptances diff --git a/src/Microsoft.Graph/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 57828b4f2ab..669d1fa8c23 100644 --- a/src/Microsoft.Graph/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from agreementAcceptances by key @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in agreementAcceptances @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementAcceptance body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from agreementAcceptances diff --git a/src/Microsoft.Graph/Generated/Agreements/AgreementsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/AgreementsRequestBuilder.cs index f1923ced858..13e11c2895e 100644 --- a/src/Microsoft.Graph/Generated/Agreements/AgreementsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/AgreementsRequestBuilder.cs @@ -53,7 +53,7 @@ public async Task GetAsync(Action(requestInfo, AgreementCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to agreements @@ -74,7 +74,7 @@ public async Task PostAsync(Agreement body, Action(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs index 549ff57116c..89f16800ddf 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to acceptances for agreements @@ -80,7 +80,7 @@ public async Task PostAsync(AgreementAcceptance body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the details about the acceptance records for a specific agreement. diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs index 2de870909bc..c29c18980df 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 12cf3d33477..41a334d4b2d 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Information about acceptances of this agreement. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property acceptances in agreements @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementAcceptance body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property acceptances for agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/AgreementItemRequestBuilder.cs index 3818298034f..e611a8b646b 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/AgreementItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get entity from agreements by key @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in agreements @@ -100,7 +100,7 @@ public async Task PatchAsync(Agreement body, Action(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs index 5f74a5801e9..21853276da9 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/FileRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property file in agreements @@ -91,7 +91,7 @@ public async Task PatchAsync(AgreementFile body, Action(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property file for agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs index b25f550abbe..3a23189512b 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs index 9e216e6839f..bc6f2a167a5 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The localized version of the terms of use agreement files attached to the agreement. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property localizations in agreements @@ -90,7 +90,7 @@ public async Task PatchAsync(AgreementFileLocalizatio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property localizations for agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs index 2d0b93ed553..0d7ade474b1 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index 3846c5f9bb5..6c7441bd9d6 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in agreements @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementFileVersion body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs index af8e5fa40d2..15c044c3a69 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for agreements @@ -79,7 +79,7 @@ public async Task PostAsync(AgreementFileVersion body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs index 5afa71e1a09..a0d3eb994b5 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to localizations for agreements @@ -80,7 +80,7 @@ public async Task PostAsync(AgreementFileLocalization {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the default and localized agreement files. diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Count/CountRequestBuilder.cs index 2dd3b02fe78..12696b7540b 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs index 909034206cd..447f159a315 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Files/FilesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new localized agreement file. @@ -80,7 +80,7 @@ public async Task PostAsync(AgreementFileLocalization {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs index 1e9ebe02fbd..dc245958807 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property files in agreements @@ -90,7 +90,7 @@ public async Task PatchAsync(AgreementFileLocalizatio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property files for agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs index 4fa24ce20a1..029eb32ff96 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index 9e6352f5202..24ff6742f9e 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in agreements @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementFileVersion body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for agreements diff --git a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs index 460ef01e21a..2cab7f2f848 100644 --- a/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for agreements @@ -79,7 +79,7 @@ public async Task PostAsync(AgreementFileVersion body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/AppCatalogsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/AppCatalogsRequestBuilder.cs index fe7abc6dea2..b7a388b7bdc 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/AppCatalogsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/AppCatalogsRequestBuilder.cs @@ -50,7 +50,7 @@ public AppCatalogsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppCatalogs.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppCatalogs.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update appCatalogs @@ -71,7 +71,7 @@ public AppCatalogsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppCatalogs.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppCatalogs.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appCatalogs diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs index 45dd0d0c4f2..ccb5c687858 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs index a8f93448b57..5e0e7a8ddaa 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/AppDefinitionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an app previously published to the Microsoft Teams app catalog. To update an app, the distributionMethod property for the app must be set to organization. This API specifically updates an app published to your organization's app catalog (the tenant app catalog). @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details for each version of the app. diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs index 04d2b11a02f..6e72414e626 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs index 49973e45846..b75af94b96f 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/Bot/BotRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the bot associated with a specific definition of the TeamsApp. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkBot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkBot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bot in appCatalogs @@ -86,7 +86,7 @@ public async Task PatchAsync(TeamworkBot body, Action(requestInfo, TeamworkBot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkBot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bot for appCatalogs diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs index a7d716160cc..e574a352f4e 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/AppDefinitions/Item/TeamsAppDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The details for each version of the app. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Publish an app to the Microsoft Teams apps catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource will have a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property appDefinitions for appCatalogs diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs index 65fceb6e975..43fdd3029f7 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get teamsApps from appCatalogs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property teamsApps in appCatalogs @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete teamsApp diff --git a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs index 02e20483b46..03da6e8a2c6 100644 --- a/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/TeamsAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Publish an app to the Microsoft Teams apps catalog.Specifically, this API publishes the app to your organization's catalog (the tenant app catalog);the created resource will have a distributionMethod property value of organization. The requiresReview property allows any user to submit an app for review by an administrator. Admins can approve or reject these apps via this API or the Microsoft Teams admin center. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List apps from the Microsoft Teams app catalog.This includes apps from the Microsoft Teams store, as well as apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs index afc2549e868..4b990b51689 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/ApplicationTemplatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of applicationTemplate objects from the Azure AD application gallery. diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Count/CountRequestBuilder.cs index 6f60b10e11b..5c4b79888ff 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs index 4fda68c6d54..7e9782fec43 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/ApplicationTemplateItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties of an applicationTemplate object. diff --git a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs index c2d77513e24..df383e2f421 100644 --- a/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(InstantiatePostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ApplicationServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an instance of an application from the Azure AD application gallery into your directory. You can also use this API to instantiate non-gallery apps. Use the following ID for the applicationTemplate object: 8adf8e6e-67b2-4cf2-a259-e3dc5476c621. diff --git a/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs index a7479f861c8..f98aa9d455e 100644 --- a/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/ApplicationsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new application object. @@ -101,7 +101,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of applications in this organization. diff --git a/src/Microsoft.Graph/Generated/Applications/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Count/CountRequestBuilder.cs index 8a2d975228b..d8513ddd108 100644 --- a/src/Microsoft.Graph/Generated/Applications/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs index 9484d384e06..375956355bf 100644 --- a/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 09d41fa54ca..b1096026d7d 100644 --- a/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Applications/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/GetByIds/GetByIdsRequestBuilder.cs index cd25f93c859..fa2449e09a6 100644 --- a/src/Microsoft.Graph/Generated/Applications/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs index 40ba435432a..ef5babb46fc 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AddKey/AddKeyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddKeyPostRequestBody body, Action(requestInfo, KeyCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, KeyCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don’t have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. You can use the Update application operation to perform an update instead. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs index 2bf9ec6b662..d0b02d5b34c 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AddPassword/AddPasswordRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPasswordPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a strong password or secret to an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs index 4196774fdf7..91d804621ca 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task GetAsync(Action(requestInfo, AppManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The appManagementPolicy applied to this application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs index 89a6cd26c29..fb3c8e2722a 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs index ec5f5d10d0e..bdbace76136 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs index 11d18399eb4..94240017674 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/AppManagementPolicies/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign an appManagementPolicy policy object to an application or service principal object. The application or service principal adopts this policy over the tenant-wide tenantAppManagementPolicy setting. Only one policy object can be assigned to an application or service principal. @@ -67,7 +67,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// The appManagementPolicy applied to this application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs index 4914ec37b63..e7be6c07353 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/ApplicationItemRequestBuilder.cs @@ -151,7 +151,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of an application object. @@ -171,7 +171,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an application object. @@ -193,7 +193,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 499f92e51a2..806e90a3b4e 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index af1aee964d9..adeaa7b3960 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs index bff309c5b83..fac49cdb480 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Supports $filter (/$count eq 0, /$count ne 0). Read-only. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs index ad6f1003678..ecc90b7cfac 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs index f647945a840..aa1b1617e67 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/ExtensionPropertiesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionPropertyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionPropertyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new directory extension definition, represented by an extensionProperty object. @@ -81,7 +81,7 @@ public async Task PostAsync(ExtensionProperty body, Action(requestInfo, ExtensionProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of directory extension definitions, represented by extensionProperty objects on an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs index 58cb62e9df0..8502e034547 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/ExtensionProperties/Item/ExtensionPropertyItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read a directory extension definition represented by an extensionProperty object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensionProperties in applications @@ -87,7 +87,7 @@ public async Task PatchAsync(ExtensionProperty body, Action(requestInfo, ExtensionProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionProperty.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a directory extension definition represented by an extensionProperty object. You can delete only directory extensions that aren't synced from on-premises active directory (AD). diff --git a/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs index 04ae560059d..c336c61ec1c 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs index 1baf95647b2..141c2cf7ced 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredentialCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredentialCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new federatedIdentityCredential object for an application. By configuring a trust relationship between your Azure AD application registration and the identity provider for your compute platform, you can use tokens issued by that platform to authenticate with Microsoft identity platform and call APIs in the Microsoft ecosystem. Maximum of 20 objects can be added to an application. @@ -81,7 +81,7 @@ public async Task PostAsync(FederatedIdentityCreden {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the federatedIdentityCredential objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs index 73dc84ffcc8..e36ba84b0a7 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a federatedIdentityCredential object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a federatedIdentityCredential object. @@ -88,7 +88,7 @@ public async Task PatchAsync(FederatedIdentityCrede {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a federatedIdentityCredential object from an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 400a20a3576..638ad287840 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 15f2bc683dc..8e41eec3607 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs index 615efab0db5..ab8bb90d0f3 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs index 42900bb3acd..b2468ffbf92 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, HomeRealmDiscoveryPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get homeRealmDiscoveryPolicies from applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs index e2d484dfb29..437baf8d409 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get homeRealmDiscoveryPolicies from applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Logo/LogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Logo/LogoRequestBuilder.cs index 4a2aacdeaf7..0eef1b69197 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Logo/LogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Logo/LogoRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The main logo for the application. Not nullable. @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The main logo for the application. Not nullable. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Count/CountRequestBuilder.cs index 329b48fe7b7..a0e97ab6819 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 9e7d45565cb..e4c4bdd2d76 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index c7b0bcf8e6e..02d8cc15c26 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs index cbed00b30e0..7a5a726281b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs index ca89358a4ae..ec0203abe7d 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs index f84c5e7074c..f7cf61d36b4 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index c2adfb75863..c528bd9b584 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs index cf1827680e8..6f60cda2bd3 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs index 170309ff189..cc742972c3d 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 13abc768007..cba79f54f40 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 51896fe4c66..d6be5a3b623 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 5555a095c4a..dc217489baf 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs index f3c27a92b57..85c612400d8 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs index 234216ddd23..286ef8b5c91 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an owner from an application. As a recommended best practice, apps should have at least two owners. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/OwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/OwnersRequestBuilder.cs index 4243d4fb41b..22a5f8e8917 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/OwnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/OwnersRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs index 7c9bc9aaabc..515a4ecb781 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Owners/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an owner to an application by posting to the owners collection. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs index d6858fcc177..b9a61f01db6 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/RemoveKey/RemoveKeyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemoveKeyPostRequestBody body, Action /// Remove a key credential from an application. This method along with addKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs index ce514fd4a6e..5f88cf7c813 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/RemovePassword/RemovePasswordRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemovePasswordPostRequestBody body, Action /// Remove a password from an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs index 675ca259584..0f763f31df7 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs index 378367f9a43..9f6940fef79 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/SetVerifiedPublisher/SetVerifiedPublisherRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetVerifiedPublisherPostRequestBody body, Action /// Set the verifiedPublisher on an application. For more information, including prerequisites to setting a verified publisher, see Publisher verification. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs index fe9ad43fe18..4ab5ad7e32a 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcquireAccessTokenPostRequestBody body, Action /// Acquire an OAuth access token to authorize the Azure AD provisioning service to provision users into an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs index 26c4108b1ff..274574a355e 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs index c836a48b158..cbe77540ad4 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs index 8200d18ee11..00f761f59f9 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ProvisionOnDemandPostReque {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, StringKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs index 911020a5ee0..ca78776da4e 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RestartPostRequestBody body, Action /// Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs index 4f9ea984312..6b5d8ce48b2 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs index 92b95c40505..a0234443b16 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to directories for applications @@ -79,7 +79,7 @@ public async Task PostAsync(DirectoryDefinition body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the collection of directories and all of their objects. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs index b19dcf75974..8cc2e103454 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Contains the collection of directories and all of their objects. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property directories in applications @@ -90,7 +90,7 @@ public async Task PatchAsync(DirectoryDefinition body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property directories for applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index 80fe7b83cc9..1ff8191e471 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Discover the latest schema definition for provisioning to an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index 0a888176d41..642a1bcb8be 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterOperators diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs index b2b2f20f04f..e0fac0244b5 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function functions diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 174720a2fd9..0fdbb3966df 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ParseExpressionPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Azure Active Directory. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs index 83925a07570..bbf1f1d0937 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the schema for a given synchronization job or template. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. @@ -107,7 +107,7 @@ public async Task PatchAsync(SynchronizationSchema body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schema for applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs index 8a2cf3b69c0..f37beea42fb 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Start an existing synchronization job. If the job is in a paused state, it will continue processing changes from the point where it was paused. If the job is in quarantine, the quarantine status will be cleared. Do not create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs index 0ebd94f6fe0..c6881062df5 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Retrieve the existing synchronization job and its properties. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property jobs in applications @@ -117,7 +117,7 @@ public async Task PatchAsync(SynchronizationJob body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index d4a24ef0e80..4601d202d33 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidateCredentialsPostRequestBody body, Action /// Validate that the credentials are valid in the tenant. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs index 499171743e4..f3cb34c8d4e 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/JobsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. @@ -86,7 +86,7 @@ public async Task PostAsync(SynchronizationJob body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List existing jobs for a given application instance (service principal). diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index d0c9d4416ff..e53c1997edb 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ValidateCredentialsPostRequestBody body, Action /// Invoke action validateCredentials diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs index 0c8686c8c02..00a8e7f940b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs index 4e10b36e8fc..a759b13719c 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Secrets/SecretsRequestBuilder.cs @@ -52,7 +52,7 @@ public async Task> PutAsync(List(requestInfo, SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs index 26d87b5d666..983365bd890 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/SynchronizationRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API. @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property synchronization in applications @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property synchronization for applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs index 95f518a311f..19341dde9c8 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs index 4e4edb5ee8d..f3204832a66 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs index 3a98f71c033..cf65463f692 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to directories for applications @@ -79,7 +79,7 @@ public async Task PostAsync(DirectoryDefinition body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the collection of directories and all of their objects. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs index f414e7edc8f..aa237e37f70 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Contains the collection of directories and all of their objects. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property directories in applications @@ -90,7 +90,7 @@ public async Task PatchAsync(DirectoryDefinition body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property directories for applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index ab1067e79b6..3ef7b1bf88b 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Discover the latest schema definition for provisioning to an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index 8b0e3f8bb41..298f67f6d86 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterOperators diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs index f16e5b3107a..ccacaae3523 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function functions diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 1d86bb1ce78..50b70d0eb8e 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ParseExpressionPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Azure Active Directory. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs index 8b46b0789a8..fba539ea841 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Default synchronization schema for the jobs based on this template. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schema in applications @@ -105,7 +105,7 @@ public async Task PatchAsync(SynchronizationSchema body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schema for applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs index 924ee68a147..5c4ce96d30f 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Pre-configured synchronization settings for a particular application. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update (override) the synchronization template associated with a given application. @@ -91,7 +91,7 @@ public async Task PatchAsync(SynchronizationTemplate bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property templates for applications diff --git a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs index 128134729cc..19218acfe83 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/Synchronization/Templates/TemplatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to templates for applications @@ -80,7 +80,7 @@ public async Task PostAsync(SynchronizationTemplate bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the synchronization templates associated with a given application or service principal. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs index 1f6edc529da..0ca7797de47 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs index 9a2cc0c9704..ccdb9354aa1 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a tokenIssuancePolicy from an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs index 38c9357ddb0..5edd79c8493 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign a tokenIssuancePolicy to an application. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// List the tokenIssuancePolicy objects that are assigned to an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs index f0a3c0b59d2..fa9fb4d2d6f 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TokenIssuancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the tokenIssuancePolicy objects that are assigned to an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs index 37485f47895..a84a9572fd6 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs index 1c2bea11523..8430268b250 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a tokenLifetimePolicy from an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs index e97a9399604..5cde5bab4d5 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs index d8bef464b34..d463cec12a6 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TokenLifetimePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application. diff --git a/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs index 90082362936..6d885bb0b18 100644 --- a/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/Item/UnsetVerifiedPublisher/UnsetVerifiedPublisherRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unset the verifiedPublisher previously set on an application, removing all verified publisher properties. For more information, see Publisher verification. diff --git a/src/Microsoft.Graph/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 6006200c8a6..c7ba3290b43 100644 --- a/src/Microsoft.Graph/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Applications/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs index ad94c5d1ed1..c6cbba95f1e 100644 --- a/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ApplicationsWithAppId/ApplicationsWithAppIdRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of an application object. @@ -68,7 +68,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an application object. @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an application object. When deleted, apps are moved to a temporary container and can be restored within 30 days. After that time, they are permanently deleted. diff --git a/src/Microsoft.Graph/Generated/AuditLogs/AuditLogsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/AuditLogsRequestBuilder.cs index 3d0d4acb6fd..3975efaaa6f 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/AuditLogsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/AuditLogsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, AuditLogRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuditLogRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update auditLogs @@ -81,7 +81,7 @@ public async Task PatchAsync(AuditLogRoot body, Action(requestInfo, AuditLogRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuditLogRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get auditLogs diff --git a/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs index a06b9a3a1c7..323fc0df850 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs index da9de9f3fa8..c473a4265e6 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/DirectoryAuditsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryAuditCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryAuditCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to directoryAudits for auditLogs @@ -80,7 +80,7 @@ public async Task PostAsync(DirectoryAudit body, Action(requestInfo, DirectoryAudit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryAudit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of audit logs generated by Azure Active Directory (Azure AD). This includes audit logs generated by various services within Azure AD, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on. diff --git a/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs index 0b2397924be..d16278b094b 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/DirectoryAudits/Item/DirectoryAuditItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get a specific Azure Active Directory audit log item. This includes an audit log item generated by various services within Azure Active Directory like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryAudit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryAudit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property directoryAudits in auditLogs @@ -86,7 +86,7 @@ public async Task PatchAsync(DirectoryAudit body, Action(requestInfo, DirectoryAudit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryAudit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property directoryAudits for auditLogs diff --git a/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs index b29677cffbb..15b21ae665a 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs index 635cdee510f..bf1d980fd2e 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/Item/ProvisioningObjectSummaryItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get provisioning from auditLogs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ProvisioningObjectSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisioningObjectSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property provisioning in auditLogs @@ -85,7 +85,7 @@ public async Task PatchAsync(ProvisioningObjectSummar {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ProvisioningObjectSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisioningObjectSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property provisioning for auditLogs diff --git a/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs index 1f5b1a78a67..78f889759da 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/Provisioning/ProvisioningRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action

(requestInfo, ProvisioningObjectSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisioningObjectSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } ///

/// Create new navigation property to provisioning for auditLogs @@ -80,7 +80,7 @@ public async Task PostAsync(ProvisioningObjectSummary {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ProvisioningObjectSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisioningObjectSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all provisioning events that occurred in your tenant, such as the deletion of a group in a target application or the creation of a user when provisioning user accounts from your HR system. diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs index 908c8c8db74..f2440610745 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs index 1bdb015fdca..7f0ec8b0340 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/Item/SignInItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a specific Azure AD user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SignIn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SignIn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property signIns in auditLogs @@ -86,7 +86,7 @@ public async Task PatchAsync(SignIn body, Action(requestInfo, SignIn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SignIn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property signIns for auditLogs diff --git a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs index b711edbbb43..0cc6073f3bf 100644 --- a/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuditLogs/SignIns/SignInsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SignInCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SignInCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to signIns for auditLogs @@ -80,7 +80,7 @@ public async Task PostAsync(SignIn body, Action(requestInfo, SignIn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SignIn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the Azure AD user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Azure Active Directory (Azure AD) default retention period are available. diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs index ed00eac040f..aaad00c315e 100644 --- a/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to authenticationMethodConfigurations @@ -79,7 +79,7 @@ public async Task PostAsync(AuthenticationMet {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from authenticationMethodConfigurations diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs index e2d89065b60..88eb1c89db1 100644 --- a/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs index 204a4f6c7f4..197be57527c 100644 --- a/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from authenticationMethodConfigurations by key @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in authenticationMethodConfigurations @@ -85,7 +85,7 @@ public async Task PatchAsync(AuthenticationMe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from authenticationMethodConfigurations diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs index 4739da95085..861fc5e1969 100644 --- a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to authenticationMethodConfigurations for authenticationMethodsPolicy @@ -79,7 +79,7 @@ public async Task PostAsync(AuthenticationMet {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs index 5b76fb367f2..83b897358c1 100644 --- a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs index 3ee009fdabf..7dedd7fe4c3 100644 --- a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property authenticationMethodConfigurations in authenticationMethodsPolicy @@ -85,7 +85,7 @@ public async Task PatchAsync(AuthenticationMe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authenticationMethodConfigurations for authenticationMethodsPolicy diff --git a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs index 80436ca0462..00ad91a94d9 100644 --- a/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs @@ -50,7 +50,7 @@ public AuthenticationMethodsPolicyRequestBuilder(string rawUrl, IRequestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update authenticationMethodsPolicy @@ -71,7 +71,7 @@ public AuthenticationMethodsPolicyRequestBuilder(string rawUrl, IRequestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get authenticationMethodsPolicy diff --git a/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs index 30a871dcaf7..87b4b0b4cab 100644 --- a/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CertificateBasedAuthConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CertificateBasedAuthConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to certificateBasedAuthConfiguration @@ -79,7 +79,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from certificateBasedAuthConfiguration diff --git a/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs index 6efc4e0b188..931c8eae34a 100644 --- a/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs index 52f0c31391b..2a873f911ee 100644 --- a/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from certificateBasedAuthConfiguration by key @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in certificateBasedAuthConfiguration @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from certificateBasedAuthConfiguration diff --git a/src/Microsoft.Graph/Generated/Chats/ChatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/ChatsRequestBuilder.cs index 19788ca8a20..9c8eac40c6c 100644 --- a/src/Microsoft.Graph/Generated/Chats/ChatsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/ChatsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new chat object. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. diff --git a/src/Microsoft.Graph/Generated/Chats/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Count/CountRequestBuilder.cs index 9d15067e15e..78d04e37659 100644 --- a/src/Microsoft.Graph/Generated/Chats/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs index 21dc785f0cc..2338a1fcd6c 100644 --- a/src/Microsoft.Graph/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs index 6f255a3ee59..971c7c24be3 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/ChatItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a chat object. @@ -147,7 +147,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs index 7858e172824..7a4ca589b60 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/HideForUser/HideForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HideForUserPostRequestBody body, Action /// Hide a chat for a user. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs index 6e7eb4abba2..4da1ffd7a2a 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs index 5ad726cb6b6..83848da1fb5 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install a teamsApp to the specified chat. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsAppInstallation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all app installations within a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index 227cacb14fb..63b529d9390 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index 49b88536262..2482956b479 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index 1529cc973be..3c97581ee7a 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Get an app installed in a chat. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in chats @@ -102,7 +102,7 @@ public async Task PatchAsync(TeamsAppInstallation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstall an app installed within a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index e17da33f95f..27d6850a551 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpgradePostRequestBody body, Action /// Upgrade an app installation within a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs index 004aa97cbe4..58db9dbaa36 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property lastMessagePreview in chats @@ -85,7 +85,7 @@ public async Task PatchAsync(ChatMessageInfo body, Action(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property lastMessagePreview for chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs index 728eceee6db..f2aa438c5cb 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkChatReadForUserPostRequestBody body, Action /// Mark a chat as read for a user. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs index 5a3d7655b3b..cdfe210bfbf 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkChatUnreadForUserPostRequestBody body, Action /// Mark a chat as unread for a user. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Add/AddRequestBuilder.cs index ccf94fceeec..eb78398f70a 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Count/CountRequestBuilder.cs index 00c5146b1a1..bc2c77d02af 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 6559bb6a163..5c04fba4ac5 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -46,11 +46,11 @@ public async Task DeleteAsync(Action - /// Retrieve a conversationMember from a chat. - /// Find more info here + /// Retrieve a conversationMember from a chat or channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in chats @@ -87,7 +87,7 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a conversationMember from a chat. @@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a conversationMember from a chat. + /// Retrieve a conversationMember from a chat or channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -191,7 +191,7 @@ public ConversationMemberItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve a conversationMember from a chat. + /// Retrieve a conversationMember from a chat or channel. /// public class ConversationMemberItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs index 2c1e50353a5..01431f6c342 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a chat. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all conversation members in a chat or channel. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Count/CountRequestBuilder.cs index 47cf77897d7..c0dd6df1a55 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs index 764c26da702..d8d9fe911c9 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index 943b531de45..5af247fda69 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in chats @@ -116,7 +116,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index e1a726b273b..fed625a078b 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 7581cc4dd30..46d1a8ccf0e 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for chats @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 3f70b8df31c..038448268ad 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in chats @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 675479e0a0d..e7867614098 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in chats @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index 9f46d2b9f2d..e6a467401e9 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 617b7bc7480..4eb26be282c 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 7f7d979c0b1..bc9562f5e79 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in chats @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 39e85436dee..76d72acc2f0 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 795a9d7e9f2..84ada2df5ca 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for chats @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 38fcb1cf6d7..371bd99eb51 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in chats @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index da898c473a9..b980384367b 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in chats @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index e5f9c2d9355..e3b13cd7f07 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 7f8233ad70b..8dd308b69a3 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index bb79a12d695..3b732195438 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index fb4667d5907..291f00125fc 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 196d71ed831..1332dc9ca34 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index aeb92571b18..106d31b584e 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 162229d4541..1060f44b44f 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 07ff1a0455b..b696c09085f 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index b3bfcc5cd2a..cc92fe3df08 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs index 59376630654..fe3d85fade4 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs index e68409cd07b..09e0645a20e 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs index 602c3a58312..33380deb04c 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 704bb98c13f..284a6943aab 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index 6a24db75d70..eea86762f84 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index dbdb19eb144..2669cff2290 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 6de729b1786..c1ea0468c2f 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 8919041201b..e240522090f 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 97bd6f0016d..c6371177199 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 94df4c5c259..efa0001022f 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A collection of permissions granted to apps for the chat. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in chats @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for chats diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 872b4f43069..2a8deef96be 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 4e6b14368dc..32a1c86e1d4 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for chats @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the chat. This list specifies the Azure AD apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 3ba411bf9c0..236bd922bce 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs index b82622fb53c..5dd731cbfd0 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs index f5486b699ed..adee077dc68 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents details about the chat message that is pinned. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs index a9a4dbad810..92082e5889d 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// A collection of all the pinned messages in the chat. Nullable. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pinnedMessages in chats @@ -91,7 +91,7 @@ public async Task PatchAsync(PinnedChatMessageInfo body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unpin a message from a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs index 1512d239612..4bf6f65baf9 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PinnedChatMessageInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. @@ -81,7 +81,7 @@ public async Task PostAsync(PinnedChatMessageInfo body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of pinnedChatMessages in a chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index fcc9ff73f3e..90c2302b0be 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs index 6748d2d275f..ecd5e4943e3 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 50f185a5872..20cb852687a 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index 0f4df1d380b..9d8df34c91a 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a chat. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove (unpin) a tab from the specified chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/TabsRequestBuilder.cs index 383424c5999..7e477dcf8ea 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified chat. diff --git a/src/Microsoft.Graph/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs index 37e6d886a9c..66391b7f34c 100644 --- a/src/Microsoft.Graph/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UnhideForUserPostRequestBody body, Action /// Unhide a chat for a user. diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/CallRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/CallRecordsRequestBuilder.cs index 6c970dcbac3..f329d2f44d6 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/CallRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/CallRecordsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, CallRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CallRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getDirectRoutingCalls method. @@ -101,7 +101,7 @@ public async Task PostAsync(CallRecord body, Action(requestInfo, CallRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CallRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Count/CountRequestBuilder.cs index 606d26c77dc..7fb649b5e20 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs index b8576087f4c..25897e7411b 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/CallRecordItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, CallRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CallRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property callRecords in communications @@ -91,7 +91,7 @@ public async Task PatchAsync(CallRecord body, Action(requestInfo, CallRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CallRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property callRecords for communications diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs index c4f54ce0a8b..60e838eb9f5 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs index ff2310776f5..bde92970e55 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs index 909ad00773e..f83bd0e3c49 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/Item/SegmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The list of segments involved in the session. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Segment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Segment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property segments in communications @@ -85,7 +85,7 @@ public async Task PatchAsync(Segment body, Action(requestInfo, Segment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Segment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property segments for communications diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs index f50feaf95a4..ac3c7a0bbe0 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/Segments/SegmentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SegmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SegmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to segments for communications @@ -79,7 +79,7 @@ public async Task PostAsync(Segment body, Action(requestInfo, Segment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Segment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of segments involved in the session. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs index 35805144982..6f4e861970b 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/Item/SessionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// List of sessions involved in the call. Peer-to-peer calls typically only have one session, whereas group calls typically have at least one session per participant. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, Session.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Session.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sessions in communications @@ -90,7 +90,7 @@ public async Task PatchAsync(Session body, Action(requestInfo, Session.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Session.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sessions for communications diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs index abc1f8248fa..b4098d5f9a1 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/Item/Sessions/SessionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sessions for communications @@ -80,7 +80,7 @@ public async Task PostAsync(Session body, Action(requestInfo, Session.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Session.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of sessions associated with a callRecord object. If the sessions list is truncated, a sessions@odata.nextLink value will be provided to retrieve the next page of sessions. The maximum page size for sessions is 60 entries. diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs index 850597dc59f..c7045fa1d09 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetDirectRoutingCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task G {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetDirectRoutingCallsWithFromDateTimeWithToDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetDirectRoutingCallsWithFromDateTimeWithToDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getDirectRoutingCalls diff --git a/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs index dda9efbed73..4133d5a2f39 100644 --- a/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CallRecords/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTime/MicrosoftGraphCallRecordsGetPstnCallsWithFromDateTimeWithToDateTimeRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetPstnCallsWithFromDateTimeWithToDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetPstnCallsWithFromDateTimeWithToDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getPstnCalls diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/CallsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/CallsRequestBuilder.cs index 7954c0a0c5c..cc3efdd1633 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/CallsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/CallsRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task GetAsync(Action(requestInfo, CallCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CallCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. @@ -85,7 +85,7 @@ public async Task PostAsync(Call body, Action(requestInfo, Call.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Call.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a call object. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Count/CountRequestBuilder.cs index f0233c9c9b3..b4344c5af1a 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs index a65370ac666..546266a4970 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AddLargeGalleryView/AddLargeGalleryViewRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddLargeGalleryViewPos {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AddLargeGalleryViewOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddLargeGalleryViewOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add the large gallery view to a call. For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see Identify large gallery view participants in a roster. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs index 54393fe15a0..6ab94055ea1 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AnswerPostRequestBody body, Action /// Enable a bot to answer an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs index 29d247c79c1..efd75acd46b 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/AudioRoutingGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AudioRoutingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AudioRoutingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new audioRoutingGroup. @@ -81,7 +81,7 @@ public async Task PostAsync(AudioRoutingGroup body, Action(requestInfo, AudioRoutingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AudioRoutingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of audioRoutingGroup objects. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs index 838cd89e575..c76ef09a8b9 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs index 9348ddf26f2..9ab3a013130 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/AudioRoutingGroups/Item/AudioRoutingGroupItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an audioRoutingGroup object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, AudioRoutingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AudioRoutingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Modify sources and receivers of an audioRoutingGroup. @@ -88,7 +88,7 @@ public async Task PatchAsync(AudioRoutingGroup body, Action(requestInfo, AudioRoutingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AudioRoutingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified audioRoutingGroup. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/CallItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/CallItemRequestBuilder.cs index b6991b293a0..912ed409788 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/CallItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/CallItemRequestBuilder.cs @@ -136,7 +136,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a call object. @@ -156,7 +156,7 @@ public async Task GetAsync(Action(requestInfo, Call.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Call.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property calls in communications @@ -177,7 +177,7 @@ public async Task PatchAsync(Call body, Action(requestInfo, Call.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Call.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete or hang up an active call. For group calls, this will only delete your call leg and the underlying group call will still continue. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs index 179d5bb238f..68d3946d7a1 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/CancelMediaProcessing/CancelMediaProcessingRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CancelMediaProcessin {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CancelMediaProcessingOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CancelMediaProcessingOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Cancels processing for any in-progress media operations. Media operations refer to the IVR operations playPrompt and recordResponse, which are by default queued to process in order. The cancelMediaProcessing method cancels any operation that is in-process as well as operations that are queued. For example, this method can be used to clean up the IVR operation queue for a new media operation. However, it will not cancel a subscribeToTone operation because it operates independent of any operation queue. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs index 0e8102fbb3b..f70052908e8 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ChangeScreenSharingRole/ChangeScreenSharingRoleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChangeScreenSharingRolePostRequestBody body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Allow applications to share screen content with the participants of a group call. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs index 24c78afec63..4d20ca263e3 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/ContentSharingSessionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ContentSharingSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentSharingSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to contentSharingSessions for communications @@ -80,7 +80,7 @@ public async Task PostAsync(ContentSharingSession body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentSharingSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentSharingSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of contentSharingSession objects in a call. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs index 919d478fb75..57da98ecbd0 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs index e06f2a004fe..39c19692d47 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/ContentSharingSessions/Item/ContentSharingSessionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a contentSharingSession object in a call. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ContentSharingSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentSharingSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contentSharingSessions in communications @@ -86,7 +86,7 @@ public async Task PatchAsync(ContentSharingSession body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentSharingSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentSharingSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contentSharingSessions for communications diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs index 2eb55220fc1..941015669ec 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/KeepAlive/KeepAliveRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Make a request to this API every 15 to 45 minutes to ensure that an ongoing call remains active. A call that does not receive this request within 45 minutes is considered inactive and will subsequently end. At least one successful request must be made within 45 minutes of the previous request, or the start of the call. We recommend that you send a request in shorter time intervals (every 15 minutes). Make sure that these requests are successful to prevent the call from timing out and ending. Attempting to send a request to a call that has already ended will result in a 404 Not-Found error. The resources related to the call should be cleaned up on the application side. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs index 74132b5fca5..2a61e26b0e9 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Mute/MuteRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(MutePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MuteParticipantOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MuteParticipantOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Allows the application to mute itself. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more details about how to handle mute operations, see muteParticipantOperation diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs index 054cb027664..8d4d86214d3 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs index 8d40e6bebb1..74379cd75bc 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/Item/CommsOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of an operation that adds the large gallery view to a call. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, CommsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CommsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in communications @@ -86,7 +86,7 @@ public async Task PatchAsync(CommsOperation body, Action(requestInfo, CommsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CommsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for communications diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs index e802e7281d6..2aacbd83f38 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, CommsOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CommsOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for communications @@ -79,7 +79,7 @@ public async Task PostAsync(CommsOperation body, Action(requestInfo, CommsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CommsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the status of an operation that adds the large gallery view to a call. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs index 9cfeaf3d425..c0622dcbfd5 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs index 4271e44f56a..0f9e5545da9 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs @@ -29,8 +29,8 @@ public InviteRequestBuilder(Dictionary pathParameters, IRequestA public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl) { } /// - /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. - /// Find more info here + /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -48,10 +48,10 @@ public async Task PostAsync(InvitePostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Invite participants to the active call. For more information about how to handle operations, see commsOperation. + /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs index b8a4716602e..27918885de2 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/Mute/MuteRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(MutePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MuteParticipantOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MuteParticipantOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mute a specific participant in the call. This is a server mute, meaning that the server will drop all audio packets for this participant, even if the participant continues to stream audio. For more information about how to handle mute operations, see muteParticipantOperation. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs index 42157ba9ce9..20439816001 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/ParticipantItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a participant object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Participant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Participant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property participants in communications @@ -102,7 +102,7 @@ public async Task PatchAsync(Participant body, Action(requestInfo, Participant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Participant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs index 3f27ed01c80..cd9f22de4a8 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StartHoldMusic/StartHoldMusicRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(StartHoldMusicPostRequestBo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, StartHoldMusicOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StartHoldMusicOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Put a participant on hold and play music in the background. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs index 58ce6389306..578113a7217 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Item/StopHoldMusic/StopHoldMusicRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(StopHoldMusicPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, StopHoldMusicOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StopHoldMusicOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reincorporate a participant previously put on hold to the call. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs index 876acaf8616..a7c86ea4773 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/ParticipantsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ParticipantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ParticipantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to participants for communications @@ -85,7 +85,7 @@ public async Task PostAsync(Participant body, Action(requestInfo, Participant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Participant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of participant objects in the call. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs index 71c025dcbba..7f8f3945e25 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/PlayPrompt/PlayPromptRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(PlayPromptPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlayPromptOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlayPromptOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Play a prompt in the call. For more information about how to handle operations, see commsOperation diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs index cbdd720cd99..9ebae9c0457 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/RecordResponse/RecordResponseRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(RecordResponsePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RecordOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RecordOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs index a7e100719b4..d0ee7b19066 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Redirect/RedirectRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RedirectPostRequestBody body, Action /// Redirect an incoming call that hasn't been answered or rejected yet. The terms 'redirecting' and 'forwarding' a call are used interchangeably. The bot is expected to redirect the call before the call times out. The current timeout value is 15 seconds. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs index 33700cc03e2..85ab526e7d0 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Reject/RejectRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RejectPostRequestBody body, Action /// Enable a bot to reject an incoming call. The incoming call request can be an invite from a participant in a group call or a peer-to-peer call. If an invite to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer or reject the call before the call times out. The current timeout value is 15 seconds. This API does not end existing calls that have already been answered. Use delete call to end a call. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs index 050de0bca2f..b6c7158ff9c 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/SubscribeToTone/SubscribeToToneRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(SubscribeToTonePostRequest {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SubscribeToToneOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscribeToToneOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Subscribe to DTMF (dual-tone multi-frequency signaling). This allows you to be notified when the user presses keys on a 'dialpad'. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs index c279b3e5193..54c92ba487e 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Transfer/TransferRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TransferPostRequestBody body, Action /// Transfer an active peer-to-peer call or group call. A consultative transfer means that the transferor can inform the person they want to transfer the call to (the transferee), before the transfer is made. This is opposed to transfering the call directly. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs index 460ce089c46..9a5d086888d 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/Unmute/UnmuteRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(UnmutePostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnmuteParticipantOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnmuteParticipantOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Allow the application to unmute itself. This is a server unmute, meaning that the server will start sending audio packets for this participant to other participants again. For more information about how to handle unmute operations, see unmuteParticipantOperation. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs index 19201f32569..9de4d23bda8 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/Item/UpdateRecordingStatus/UpdateRecordingStatusRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(UpdateRecordingStatu {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UpdateRecordingStatusOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UpdateRecordingStatusOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the application's recording status associated with a call. This requires the use of the Teams policy-based recording solution. diff --git a/src/Microsoft.Graph/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs index 648ca2c4d59..9d1894cb7ef 100644 --- a/src/Microsoft.Graph/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Calls/LogTeleconferenceDeviceQuality/LogTeleconferenceDeviceQualityRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LogTeleconferenceDeviceQualityPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Log video teleconferencing device quality data. The Cloud Video Interop (CVI) bot represents video teleconferencing (VTC) devices and acts as a back-to-back agent for a VTC device in a conference call. Because a CVI bot is in the middle of the VTC and Microsoft Teams infrastructure as a VTC proxy, it has two media legs. One media leg is between the CVI bot and Teams infrastructure, such as Teams conference server or a Teams client. The other media leg is between the CVI bot and the VTC device. The third-party partners own the VTC media leg and the Teams infrastructure cannot access the quality data of the third-party call leg. This method is only for the CVI partners to provide their media quality data. diff --git a/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs index 180877b9b78..f30e3826fc1 100644 --- a/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/CommunicationsRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, CloudCommunications.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CloudCommunications.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update communications @@ -91,7 +91,7 @@ public async Task PatchAsync(CloudCommunications body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CloudCommunications.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CloudCommunications.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get communications diff --git a/src/Microsoft.Graph/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs index e3389c986cc..05cfc29febd 100644 --- a/src/Microsoft.Graph/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/GetPresencesByUserId/GetPresencesByUserIdRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetPresencesByUserIdPo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetPresencesByUserIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetPresencesByUserIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the presence information for multiple users. diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs index 5f843fc1bc4..84a172b92b3 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs index 17569a539f0..b005625815b 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateOrGetPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs index eea7c1040a2..d8c047eaba9 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MeetingAttendanceReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attendanceReports for communications @@ -80,7 +80,7 @@ public async Task PostAsync(MeetingAttendanceReport bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs index 6b7fa4db1b1..4d88cd19ca9 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs index 9f52099dd54..1ebccd6a6f3 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AttendanceRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attendanceRecords for communications @@ -80,7 +80,7 @@ public async Task PostAsync(AttendanceRecord body, Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of attendanceRecord objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs index 5862ea91e77..2a42a24ddb8 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs index 0140fcbcb3c..d4abfd8f6d6 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// List of attendance records of an attendance report. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attendanceRecords in communications @@ -85,7 +85,7 @@ public async Task PatchAsync(AttendanceRecord body, Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attendanceRecords for communications diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs index fabe1dbf969..63e1439e601 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attendanceReports in communications @@ -91,7 +91,7 @@ public async Task PatchAsync(MeetingAttendanceReport bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attendanceReports for communications diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs index 29028ffc25b..7e1b42ff2a8 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs index 276e76c85d5..045604fed9c 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetVirtualAppointmentJoinWebUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetVirtualAppointmentJoinWebUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getVirtualAppointmentJoinWebUrl diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index 412adb248d9..4f56d172d23 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get onlineMeetings from communications @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property onlineMeetings in communications @@ -100,7 +100,7 @@ public async Task PatchAsync(OnlineMeeting body, Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property onlineMeetings for communications diff --git a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index cc6b27b3a2e..08c8c0630a8 100644 --- a/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, OnlineMeetingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeetingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to onlineMeetings for communications @@ -85,7 +85,7 @@ public async Task PostAsync(OnlineMeeting body, Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report is an online meeting artifact. For details, see Online meeting artifacts and permissions. diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Count/CountRequestBuilder.cs index 66716b1dded..3442376ca2e 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs index b9d5ac2e9f6..b1e066fa95a 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearPresence/ClearPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ClearPresencePostRequestBody body, Action /// Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs index 6feac588ff3..9621a862f59 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Clear the preferred availability and activity status for a user. diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs index 20c53477da0..786c662c4d5 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/PresenceItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get a user's presence information. @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property presences in communications @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property presences for communications diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs index c9426de9f8f..63244cd50c4 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetPresence/SetPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetPresencePostRequestBody body, Action /// Set the state of a user's presence session as an application. diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs index 84038fb4b7c..634aabd9d45 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetStatusMessage/SetStatusMessageRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetStatusMessagePostRequestBody body, Action /// Invoke action setStatusMessage diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs index 3458508c3e0..f0aa850842b 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/Item/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetUserPreferredPresencePostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. diff --git a/src/Microsoft.Graph/Generated/Communications/Presences/PresencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Communications/Presences/PresencesRequestBuilder.cs index 54d89b1475f..b8c850e368a 100644 --- a/src/Microsoft.Graph/Generated/Communications/Presences/PresencesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Communications/Presences/PresencesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PresenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PresenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to presences for communications @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a user's presence information. diff --git a/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs index 5d38d8123d7..c44716e2664 100644 --- a/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Compliance/ComplianceRequestBuilder.cs @@ -45,7 +45,7 @@ public ComplianceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Compliance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Compliance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update compliance @@ -66,7 +66,7 @@ public ComplianceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Compliance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Compliance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get compliance diff --git a/src/Microsoft.Graph/Generated/Connections/ConnectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/ConnectionsRequestBuilder.cs index 7ea168022ee..5593f567675 100644 --- a/src/Microsoft.Graph/Generated/Connections/ConnectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/ConnectionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExternalConnectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to connections @@ -79,7 +79,7 @@ public async Task PostAsync(ExternalConnection body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from connections diff --git a/src/Microsoft.Graph/Generated/Connections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Count/CountRequestBuilder.cs index 87e39d2160e..dc348703aab 100644 --- a/src/Microsoft.Graph/Generated/Connections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs index eeaaebb857e..a0752b5d82a 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/ExternalConnectionItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Get entity from connections by key @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in connections @@ -105,7 +105,7 @@ public async Task PatchAsync(ExternalConnection body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from connections diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Count/CountRequestBuilder.cs index d17ab322660..3bf32ab29c9 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Groups/GroupsRequestBuilder.cs index 66a38ec6af0..c22324f2e60 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Groups/GroupsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExternalGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new externalGroup object. @@ -80,7 +80,7 @@ public async Task PostAsync(ExternalGroup body, Action(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an externalGroup object. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs index 6266fca90ca..451d01ca8a9 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get an externalGroup object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an externalGroup object. @@ -93,7 +93,7 @@ public async Task PatchAsync(ExternalGroup body, Action(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an externalGroup object. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs index af625797d1f..904ccfb27b9 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs index a6a1dcca287..227a3252af6 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or an externalGroup as members. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in connections @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an identity resource to remove the corresponding member from an externalGroup. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs index d3b065581a9..30d0f80b77d 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, IdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an identity resource for a new member in an externalGroup. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or an externalGroup as members. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/Count/CountRequestBuilder.cs index 0c630c1b008..05ed95ca35a 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs index 9bf60f0c29c..57734be1341 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExternalActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to activities for connections @@ -79,7 +79,7 @@ public async Task PostAsync(ExternalActivity body, Action(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns a list of activities performed on the item. Write-only. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs index 57cfc786df6..fac17344b59 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs index 8f94d776ab5..3dd72f3271b 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Returns a list of activities performed on the item. Write-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property activities in connections @@ -90,7 +90,7 @@ public async Task PatchAsync(ExternalActivity body, Action(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property activities for connections diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs index 8e1b2824fa5..e3c84d3d225 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs @@ -45,7 +45,7 @@ public PerformedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents an identity used to identify who is responsible for the activity. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index 684f4a3b3b6..4035e01ef6e 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an externalItem object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property items in connections @@ -97,7 +97,7 @@ public async Task PutAsync(ExternalItem body, Action(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an externalItem object. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs index d64c4ff7649..853580a05ae 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(AddActivitiesPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AddActivitiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddActivitiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action addActivities diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Items/ItemsRequestBuilder.cs index 251588ab21f..4f3cd287b0a 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Items/ItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExternalItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to items for connections @@ -79,7 +79,7 @@ public async Task PostAsync(ExternalItem body, Action(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of an externalItem object. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Operations/Count/CountRequestBuilder.cs index 15bdd74dfb4..34f593665bb 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs index 0796d712701..5373c349d0f 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a connectionOperation object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in connections @@ -86,7 +86,7 @@ public async Task PatchAsync(ConnectionOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for connections diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Operations/OperationsRequestBuilder.cs index 34ca775fccd..4edff9940d9 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ConnectionOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for connections @@ -79,7 +79,7 @@ public async Task PostAsync(ConnectionOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a connectionOperation object. diff --git a/src/Microsoft.Graph/Generated/Connections/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Connections/Item/Schema/SchemaRequestBuilder.cs index 85b9b58d862..9fd78866f02 100644 --- a/src/Microsoft.Graph/Generated/Connections/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Connections/Item/Schema/SchemaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a schema object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schema in connections @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schema for connections diff --git a/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs index ca947bc03a7..1f52eae1f88 100644 --- a/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/ContactsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to contacts @@ -100,7 +100,7 @@ public async Task PostAsync(OrgContact body, Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of organizational contacts for this organization. diff --git a/src/Microsoft.Graph/Generated/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Count/CountRequestBuilder.cs index 1f3376065e9..35fb3c8ee2e 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Delta/DeltaRequestBuilder.cs index 77c53da92a1..c2a85e9af43 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 92208a0f49f..4a9cdd15bd1 100644 --- a/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs index 209d690f804..ba9caf928cb 100644 --- a/src/Microsoft.Graph/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 37a057c61e8..393be2e4354 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index eef95dca433..6370c9a13ab 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs index c4bf1d34e84..d4b3f796cf6 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs index e027156f12d..e0c778584c5 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/DirectReportsRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs index 8996b8f3f5a..0de33d40725 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 6848e39a70e..2244912ff23 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs index 42f3cd0dc0f..ed656cd3351 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs index 675793d6835..bb894bafa8f 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs index f845e7d91a6..6c3a394a4c7 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The contact's direct reports. (The users and contacts that have their manager property set to this contact.) Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index e1ecadc2317..89803ef3796 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs index 6f094ad6591..f92012cb474 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 70a65fd0a0e..0eed5be55f8 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 76c313a988d..667a184bf47 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/Manager/ManagerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/Manager/ManagerRequestBuilder.cs index 4c32e3e8a6f..45df6f8033e 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/Manager/ManagerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/Manager/ManagerRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get this organizational contact's manager. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs index cfd6ec52d5c..71dade3f330 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 16a74d7ca96..93e801c4956 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 1fef5969927..60306dc1213 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index 59e0d15af70..b49253f9217 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index 57c2faf9351..628527c4dc4 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index f224ee67224..fbae8b5e84f 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups that this contact is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 90c23063630..cd348b8e6ab 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index a38d8db64f0..971fc23e851 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs index 035252f3862..35565fd898e 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/MemberOf/MemberOfRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups that this contact is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs index 6c4d23b32a0..be5b23bf84e 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/OrgContactItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of an organizational contact. @@ -115,7 +115,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in contacts @@ -136,7 +136,7 @@ public async Task PatchAsync(OrgContact body, Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from contacts diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs index 6da48a2cc19..0f901954689 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs index bc78b584731..d7111cb5bb1 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action /// Invoke action retryServiceProvisioning diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index 85ed3a972f4..08e5fdcf28f 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 44a9d3c61fc..a8e88f64191 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 9b7c20f7693..b78485c152a 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index 089312dd066..03fbd9c1e3a 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index 58c9affdb09..ea1d59e640d 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 1a5b1017314..32a676935bd 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups that this contact is a member of, including groups that the contact is nested under. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index b6128c88616..6b6295e2340 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 2e13a4b9c2e..7a96070d1ab 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index 1e25faa079f..bab7a84bf13 100644 --- a/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups that this contact is a member of, including groups that the contact is nested under. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 306caa90b44..1ae4f5c3454 100644 --- a/src/Microsoft.Graph/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contacts/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Contracts/ContractsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/ContractsRequestBuilder.cs index 7aff112cb3b..e7005fda1bf 100644 --- a/src/Microsoft.Graph/Generated/Contracts/ContractsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/ContractsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, ContractCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContractCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to contracts @@ -100,7 +100,7 @@ public async Task PostAsync(Contract body, Action(requestInfo, Contract.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contract.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of contract objects associated to a partner tenant. diff --git a/src/Microsoft.Graph/Generated/Contracts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Count/CountRequestBuilder.cs index 04619c63a16..3b6de709dd0 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Contracts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Delta/DeltaRequestBuilder.cs index f84f2e51223..decd3c759f4 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 79d3f578e94..c9d54f2aa41 100644 --- a/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs index de4e534ff89..372b8331b30 100644 --- a/src/Microsoft.Graph/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 360f18314bd..3097c530699 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 7a7bc2be34f..cd61e726d58 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/ContractItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/ContractItemRequestBuilder.cs index 85741d10ccf..39dfdfdcfc8 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/ContractItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/ContractItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of contract object. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, Contract.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contract.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in contracts @@ -111,7 +111,7 @@ public async Task PatchAsync(Contract body, Action(requestInfo, Contract.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contract.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from contracts diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 27c83dbbcf5..485e642a574 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 7e632a3386c..800097e5065 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs index bd4a59dd634..db16454f67a 100644 --- a/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs index e484d67968e..ecf4f478260 100644 --- a/src/Microsoft.Graph/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Contracts/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/DataPolicyOperations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataPolicyOperations/Count/CountRequestBuilder.cs index 942df148597..060ddb7e36a 100644 --- a/src/Microsoft.Graph/Generated/DataPolicyOperations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DataPolicyOperations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs index 4fc1d296a97..c80c17066d2 100644 --- a/src/Microsoft.Graph/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DataPolicyOperations/DataPolicyOperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DataPolicyOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DataPolicyOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to dataPolicyOperations @@ -79,7 +79,7 @@ public async Task PostAsync(DataPolicyOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DataPolicyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DataPolicyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties of a dataPolicyOperation object. diff --git a/src/Microsoft.Graph/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs index 239ce5634f3..76e39ef55f3 100644 --- a/src/Microsoft.Graph/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DataPolicyOperations/Item/DataPolicyOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a dataPolicyOperation object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DataPolicyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DataPolicyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in dataPolicyOperations @@ -86,7 +86,7 @@ public async Task PatchAsync(DataPolicyOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DataPolicyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DataPolicyOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from dataPolicyOperations diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs index d9dc8adbcd4..a14955a685f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/AndroidManagedAppProtectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AndroidManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AndroidManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new androidManagedAppProtection object. @@ -81,7 +81,7 @@ public async Task PostAsync(AndroidManagedAppProtec {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the androidManagedAppProtection objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs index 8625a30c4e3..f4fd007376a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs index ee401717506..b6427797a45 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/AndroidManagedAppProtectionItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the androidManagedAppProtection object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a androidManagedAppProtection object. @@ -103,7 +103,7 @@ public async Task PatchAsync(AndroidManagedAppProte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AndroidManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a androidManagedAppProtection. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs index 674307e5f94..90de48de432 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/AppsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to apps for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of apps to which the policy is deployed. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs index 7bf360443fa..e4d98ae0b48 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index 36c29466a0f..448811e7b95 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// List of apps to which the policy is deployed. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property apps in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property apps for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs index ccc7d8e52ce..3b55d4a07a6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(TargetedManagedA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs index e8d4ab83b8b..e7f4db71568 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index 63a5c2e5eb1..bdb21ed8a66 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(TargetedManaged {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index fe50560fed2..0176e9f2fc3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/AndroidManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to deployment summary of the configuration. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deploymentSummary in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(ManagedAppPolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs index 7ee1da9dbaf..86b431cedda 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs index 7f0b2dc0878..fb3da0f0664 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/DefaultManagedAppProtectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DefaultManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DefaultManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new defaultManagedAppProtection object. @@ -81,7 +81,7 @@ public async Task PostAsync(DefaultManagedAppProtec {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the defaultManagedAppProtection objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs index d0a5a72e17d..ef06ec9fbd4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/AppsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to apps for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of apps to which the policy is deployed. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs index abfe36bcb4f..b7ebe134f60 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index 729cb0fae8e..0d292173b7b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// List of apps to which the policy is deployed. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property apps in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property apps for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs index 6b3e7300962..f4421eec63a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DefaultManagedAppProtectionItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the defaultManagedAppProtection object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a defaultManagedAppProtection object. @@ -98,7 +98,7 @@ public async Task PatchAsync(DefaultManagedAppProte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DefaultManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a defaultManagedAppProtection. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index ac7065f4d09..fc218669cc0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DefaultManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to deployment summary of the configuration. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deploymentSummary in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(ManagedAppPolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs index 530362dd8a0..8b0e11511e3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs @@ -105,7 +105,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA } /// /// Read properties and relationships of the deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -121,11 +121,11 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceAppManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceAppManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceAppManagement object. - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -143,7 +143,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceAppManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceAppManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read properties and relationships of the deviceAppManagement object. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs index f02fe8d095b..6a7d64c497f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs index a6aa4094b07..5718668bf47 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/IosManagedAppProtectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, IosManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosManagedAppProtectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new iosManagedAppProtection object. @@ -81,7 +81,7 @@ public async Task PostAsync(IosManagedAppProtection bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IosManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the iosManagedAppProtection objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs index 30a849e1b22..d15b0dc1b07 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/AppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new managedMobileApp object. @@ -81,7 +81,7 @@ public async Task PostAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedMobileApp objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs index fb9bbf04357..9bae729c206 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index bf8a7f1f153..5ca40c08785 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedMobileApp object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedMobileApp object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a managedMobileApp. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs index 00f47b4945a..618bc298118 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/AssignmentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(TargetedManagedA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs index 3bf5ac06905..e418d784006 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index 06f2cdef4ae..204e9847430 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(TargetedManaged {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index c24cceaf1d7..2910b280882 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedAppPolicyDeploymentSummary object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedAppPolicyDeploymentSummary object. @@ -87,7 +87,7 @@ public async Task PatchAsync(ManagedAppPolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs index 791c89368dd..d949785d620 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/IosManagedAppProtections/Item/IosManagedAppProtectionItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the iosManagedAppProtection object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, IosManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a iosManagedAppProtection object. @@ -103,7 +103,7 @@ public async Task PatchAsync(IosManagedAppProtection bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IosManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosManagedAppProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a iosManagedAppProtection. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs index aaacba1381b..ff20562bf14 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 5073978917b..c4fac41d395 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -50,11 +50,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the windowsInformationProtection object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property managedAppPolicies in deviceAppManagement @@ -91,7 +91,7 @@ public async Task PatchAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property managedAppPolicies for deviceAppManagement @@ -118,7 +118,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedAppConfiguration object. + /// Read properties and relationships of the windowsInformationProtection object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -195,7 +195,7 @@ public ManagedAppPolicyItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the managedAppConfiguration object. + /// Read properties and relationships of the windowsInformationProtection object. /// public class ManagedAppPolicyItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index fc561edbd1c..ea4f80c7ade 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TargetAppsPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs index 9b69ece33f8..e2c792c87c6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppPolicies/ManagedAppPoliciesRequestBuilder.cs @@ -42,8 +42,8 @@ public ManagedAppPoliciesRequestBuilder(Dictionary pathParameter public ManagedAppPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the managedAppConfiguration objects. - /// Find more info here + /// List properties and relationships of the targetedManagedAppProtection objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to managedAppPolicies for deviceAppManagement @@ -80,10 +80,10 @@ public async Task PostAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppConfiguration objects. + /// List properties and relationships of the targetedManagedAppProtection objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -144,7 +144,7 @@ public ManagedAppPoliciesRequestBuilder WithUrl(string rawUrl) { return new ManagedAppPoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppConfiguration objects. + /// List properties and relationships of the targetedManagedAppProtection objects. /// public class ManagedAppPoliciesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs index 9ae5bc0d96b..2a563552e87 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs index d0569b1c896..a1829127fb4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/GetUserIdsWithFlaggedAppRegistration/GetUserIdsWithFlaggedAppRegistrationRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetUserIdsWithFlaggedAppRegistrationResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetUserIdsWithFlaggedAppRegistrationResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getUserIdsWithFlaggedAppRegistration diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs index 31bb85030f8..4d6ff802f02 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/AppliedPoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to appliedPolicies for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Zero or more policys already applied on the registered app when it last synchronized with managment service. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs index aeb2528a807..96e68bb0dee 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index 573c191dac1..fd51aa511e8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Zero or more policys already applied on the registered app when it last synchronized with managment service. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appliedPolicies in deviceAppManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property appliedPolicies for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index f13c75002ff..e995838ea04 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/AppliedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TargetAppsPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs index c2c11076485..3bd9bc6d9cf 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs index b67994f4c7e..a4f216cbffa 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/IntendedPoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to intendedPolicies for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Zero or more policies admin intended for the app as of now. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs index f3aa3d9a694..94740d2d097 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/ManagedAppPolicyItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Zero or more policies admin intended for the app as of now. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property intendedPolicies in deviceAppManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(ManagedAppPolicy body, Action(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property intendedPolicies for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs index 05da4b48bf6..93cc6af1f5e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/IntendedPolicies/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TargetAppsPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index 1456538d02d..9008aa9c5d3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -60,11 +60,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosManagedAppRegistration object. - /// Find more info here + /// Read properties and relationships of the managedAppRegistration object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property managedAppRegistrations in deviceAppManagement @@ -101,7 +101,7 @@ public async Task PatchAsync(ManagedAppRegistration body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property managedAppRegistrations for deviceAppManagement @@ -128,7 +128,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosManagedAppRegistration object. + /// Read properties and relationships of the managedAppRegistration object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -205,7 +205,7 @@ public ManagedAppRegistrationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the iosManagedAppRegistration object. + /// Read properties and relationships of the managedAppRegistration object. /// public class ManagedAppRegistrationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs index 355b17ffc05..77ae5656bdc 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs index 0311df6c95b..a0910f77894 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/Item/ManagedAppOperationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedAppOperation object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedAppOperation object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ManagedAppOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a managedAppOperation. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs index 383f02e7ee7..b65cbcd4ff6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/Item/Operations/OperationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new managedAppOperation object. @@ -81,7 +81,7 @@ public async Task PostAsync(ManagedAppOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedAppOperation objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index 6993d3b2584..38c621bad77 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -47,8 +47,8 @@ public ManagedAppRegistrationsRequestBuilder(Dictionary pathPara public ManagedAppRegistrationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppRegistrations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the managedAppRegistration objects. - /// Find more info here + /// List properties and relationships of the androidManagedAppRegistration objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new androidManagedAppRegistration object. @@ -86,10 +86,10 @@ public async Task PostAsync(ManagedAppRegistration body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the managedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public ManagedAppRegistrationsRequestBuilder WithUrl(string rawUrl) { return new ManagedAppRegistrationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the managedAppRegistration objects. + /// List properties and relationships of the androidManagedAppRegistration objects. /// public class ManagedAppRegistrationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs index a805a38a1fe..4cf5653b9fd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs index 7af26a3dbe2..f176f508986 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/Item/ManagedAppStatusItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedAppStatus object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property managedAppStatuses in deviceAppManagement @@ -86,7 +86,7 @@ public async Task PatchAsync(ManagedAppStatus body, Action(requestInfo, ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property managedAppStatuses for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs index 834d6e0ed8d..8763324b0f4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedAppStatuses/ManagedAppStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to managedAppStatuses for deviceAppManagement @@ -80,7 +80,7 @@ public async Task PostAsync(ManagedAppStatus body, Action(requestInfo, ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedAppStatusRaw objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs index ffc5de07f3b..90755aa72ae 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs index 0ee181f1706..fe4d8964492 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assign/AssignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs index d3a91c66b50..0ab3da89337 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/AssignmentsRequestBuilder.cs @@ -59,11 +59,11 @@ public async Task GetAsync(Action(requestInfo, ManagedEBookAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new managedEBookAssignment object. - /// Find more info here + /// Create a new iosVppEBookAssignment object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -81,7 +81,7 @@ public async Task PostAsync(ManagedEBookAssignment body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedEBookAssignment objects. @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new managedEBookAssignment object. + /// Create a new iosVppEBookAssignment object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs index 1e70ae74acb..83ee19ca9e2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs index 851307203a2..8d3d1bd258c 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/Assignments/Item/ManagedEBookAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the iosVppEBookAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a iosVppEBookAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ManagedEBookAssignment body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBookAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a iosVppEBookAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs index 683fda6fadb..c9d5a10c886 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs index 6f4155c7893..9e373aea4f3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/DeviceStatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DeviceInstallStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceInstallState object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceInstallState body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceInstallState objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs index b2fd5be97dc..cb56ad9c41e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceInstallState object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceInstallState object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceInstallState body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceInstallState. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs index 1115051c62f..41a5f0fc162 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/InstallSummary/InstallSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the eBookInstallSummary object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EBookInstallSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EBookInstallSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a eBookInstallSummary object. @@ -87,7 +87,7 @@ public async Task PatchAsync(EBookInstallSummary body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EBookInstallSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EBookInstallSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property installSummary for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs index bf9e9a0b015..dac146eee7a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/ManagedEBookItemRequestBuilder.cs @@ -71,11 +71,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the managedEBook object. - /// Find more info here + /// Read properties and relationships of the iosVppEBook object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a iosVppEBook object. @@ -113,7 +113,7 @@ public async Task PatchAsync(ManagedEBook body, Action(requestInfo, ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a iosVppEBook. @@ -140,7 +140,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the managedEBook object. + /// Read properties and relationships of the iosVppEBook object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -217,7 +217,7 @@ public ManagedEBookItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the managedEBook object. + /// Read properties and relationships of the iosVppEBook object. /// public class ManagedEBookItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs index 70f1d9974b5..c8d90f4c4d3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs index de868669d62..858795e9e66 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs index c14231be514..62c5da068fd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/DeviceStatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DeviceInstallStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceStates for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceInstallState body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The install state of the eBook. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs index 82d4ee36d98..f964e714053 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/DeviceStates/Item/DeviceInstallStateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The install state of the eBook. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceStates in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceInstallState body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceInstallState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceStates for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs index ca259b83a7c..e378ff391ca 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/Item/UserInstallStateSummaryItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the userInstallStateSummary object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, UserInstallStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserInstallStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a userInstallStateSummary object. @@ -93,7 +93,7 @@ public async Task PatchAsync(UserInstallStateSummary bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserInstallStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserInstallStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a userInstallStateSummary. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs index 41520bc5de0..e176af22460 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/Item/UserStateSummary/UserStateSummaryRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UserInstallStateSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserInstallStateSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new userInstallStateSummary object. @@ -81,7 +81,7 @@ public async Task PostAsync(UserInstallStateSummary bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserInstallStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserInstallStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the userInstallStateSummary objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs index c31a18bf2e2..ed3e8b0d3f9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/ManagedEBooks/ManagedEBooksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ManagedEBookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new iosVppEBook object. @@ -81,7 +81,7 @@ public async Task PostAsync(ManagedEBook body, Action(requestInfo, ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedEBook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedEBook objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs index 7ae51ad1925..a852a9ebef7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs index b8816f2e19f..fe7b5cae4f8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(TargetedManagedA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Navigation property to list of security groups targeted for policy. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs index 600215629b7..9489cbf50e9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index 0c791fdd976..ab2019cfd79 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to list of security groups targeted for policy. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(TargetedManaged {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs index d8e11ca5410..60a00cc4cc8 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs index b482d42029e..f16cc292669 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task G {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to exemptAppLockerFiles for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(WindowsIn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Another way to input exempt apps through xml files diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index 556782fbd6a..cb87d785d40 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Another way to input exempt apps through xml files @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property exemptAppLockerFiles in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(WindowsI {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property exemptAppLockerFiles for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs index 30592e12023..e892490d334 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/MdmWindowsInformationProtectionPolicyItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the mdmWindowsInformationProtectionPolicy object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a mdmWindowsInformationProtectionPolicy object. @@ -103,7 +103,7 @@ public async Task PatchAsync(MdmWindowsIn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a mdmWindowsInformationProtectionPolicy. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs index 45f7fea436d..7257698d3eb 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index 53476278c4d..4a348cca7eb 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Another way to input protected apps through xml files @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property protectedAppLockerFiles in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(WindowsI {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property protectedAppLockerFiles for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs index 5aebf6169b4..2ce86f3dde0 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task G {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to protectedAppLockerFiles for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(WindowsIn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Another way to input protected apps through xml files diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs index fcec8294ee5..d922db8c8d9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MdmWindowsInformationProtectionPolicies/MdmWindowsInformationProtectionPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MdmWindowsInformationProtectionPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MdmWindowsInformationProtectionPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new mdmWindowsInformationProtectionPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(MdmWindowsInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MdmWindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the mdmWindowsInformationProtectionPolicy objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs index 28636ba352f..5c88623d1ea 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs index c0967aab26e..3211caa0e20 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the mobileAppCategory object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a mobileAppCategory object. @@ -88,7 +88,7 @@ public async Task PatchAsync(MobileAppCategory body, Action(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a mobileAppCategory. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs index e9aab79df38..e89e1bf116f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppCategories/MobileAppCategoriesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MobileAppCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new mobileAppCategory object. @@ -81,7 +81,7 @@ public async Task PostAsync(MobileAppCategory body, Action(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the mobileAppCategory objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs index 6be58f733cc..cf54ac12be3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs index 68bc4eeb78c..3ea78d12af4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index 654afd58ef5..ac9580d5ae7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task(requestInfo, ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new managedDeviceMobileAppConfigurationAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(Manag {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedDeviceMobileAppConfigurationAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index 8508b39acd9..8729ae78d29 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs index 4216e659b40..7fe2d1752be 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/Assignments/Item/ManagedDeviceMobileAppConfigurationAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedDeviceMobileAppConfigurationAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedDeviceMobileAppConfigurationAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(Mana {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a managedDeviceMobileAppConfigurationAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs index 835dca0bc2f..a2bbc11383d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatusSummary/DeviceStatusSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedDeviceMobileAppConfigurationDeviceSummary object. @@ -65,7 +65,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedDeviceMobileAppConfigurationDeviceSummary object. @@ -87,7 +87,7 @@ public async Task PatchAsync(M {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceStatusSummary for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs index c118c42d3c9..9f13251a6de 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs index 7f3439a2c15..69b29ee44b9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new managedDeviceMobileAppConfigurationDeviceStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(Man {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs index 533629c8414..70aa5ad114e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/DeviceStatuses/Item/ManagedDeviceMobileAppConfigurationDeviceStatusItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedDeviceMobileAppConfigurationDeviceStatus object. @@ -66,7 +66,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedDeviceMobileAppConfigurationDeviceStatus object. @@ -88,7 +88,7 @@ public async Task PatchAsync(Ma {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a managedDeviceMobileAppConfigurationDeviceStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs index 26f0842f731..42ce06ec968 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/ManagedDeviceMobileAppConfigurationItemRequestBuilder.cs @@ -76,11 +76,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosMobileAppConfiguration object. - /// Find more info here + /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a iosMobileAppConfiguration object. @@ -118,7 +118,7 @@ public async Task PatchAsync(ManagedDeviceM {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a iosMobileAppConfiguration. @@ -145,7 +145,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -222,7 +222,7 @@ public ManagedDeviceMobileAppConfigurationItemRequestBuilderDeleteRequestConfigu } } /// - /// Read properties and relationships of the iosMobileAppConfiguration object. + /// Read properties and relationships of the managedDeviceMobileAppConfiguration object. /// public class ManagedDeviceMobileAppConfigurationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs index cfe555e9868..41ad31f3d26 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatusSummary/UserStatusSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedDeviceMobileAppConfigurationUserSummary object. @@ -65,7 +65,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedDeviceMobileAppConfigurationUserSummary object. @@ -87,7 +87,7 @@ public async Task PatchAsync(Man {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userStatusSummary for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs index b2731914692..4866df8e1f7 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs index de1d82c5a8e..6340b83267e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/Item/ManagedDeviceMobileAppConfigurationUserStatusItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedDeviceMobileAppConfigurationUserStatus object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedDeviceMobileAppConfigurationUserStatus object. @@ -88,7 +88,7 @@ public async Task PatchAsync(Mana {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a managedDeviceMobileAppConfigurationUserStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs index 09afa6ad788..6404e70a2e9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task(requestInfo, ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new managedDeviceMobileAppConfigurationUserStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(Manag {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedDeviceMobileAppConfigurationUserStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs index 8f610b9850d..c6c0d4dcd4a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileAppConfigurations/MobileAppConfigurationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new iosMobileAppConfiguration object. @@ -81,7 +81,7 @@ public async Task PostAsync(ManagedDeviceMo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceMobileAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the iosMobileAppConfiguration objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs index 08b0b45c1dc..5f2900e4b02 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs index 88331c4e85f..26333e4559f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs index 151b8a67951..d852f99cf3f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileLobAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileLobAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.managedMobileLobApp in the microsoft.graph.mobileApp collection diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.cs index 24f5176b8af..306f0f1f834 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs index 76fe2d7fb4b..37460b81591 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, MobileLobAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileLobAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.mobileLobApp in the microsoft.graph.mobileApp collection diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs index c86f1dad598..fbf4efcd66b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assign/AssignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs index be026a8858c..ab3b98554ee 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/AssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MobileAppAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new mobileAppAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(MobileAppAssignment body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileAppAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the mobileAppAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs index bd6a03517b0..0b0ca6b7608 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs index 1333754984c..187e80cd1c5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Assignments/Item/MobileAppAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the mobileAppAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MobileAppAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a mobileAppAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(MobileAppAssignment body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileAppAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a mobileAppAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs index 03719408ae9..b75d48c08ba 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/CategoriesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, MobileAppCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of categories for this app. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs index 7efcf586fa9..d2ea1fb83ca 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs index d9de8f8fe7f..b9a6e935e2f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/Categories/Item/MobileAppCategoryItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of categories for this app. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs index 41470fa8615..61be2cf1c1e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphManagedMobileLobApp/GraphManagedMobileLobAppRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileLobApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileLobApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.mobileApp as microsoft.graph.managedMobileLobApp diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs index d0ad040179e..946de8272c5 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/GraphMobileLobApp/GraphMobileLobAppRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, MobileLobApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileLobApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.mobileApp as microsoft.graph.mobileLobApp diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs index 16ad82d2c2c..3597b2c406e 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/Item/MobileAppItemRequestBuilder.cs @@ -54,8 +54,8 @@ public MobileAppItemRequestBuilder(Dictionary pathParameters, IR public MobileAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a webApp. - /// Find more info here + /// Deletes a iosiPadOSWebClip. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -71,11 +71,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the iosLobApp object. - /// Find more info here + /// Read properties and relationships of the windowsMicrosoftEdgeApp object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,11 +91,11 @@ public async Task GetAsync(Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a windowsAppX object. - /// Find more info here + /// Update the properties of a win32LobApp object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,10 +113,10 @@ public async Task PatchAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a webApp. + /// Deletes a iosiPadOSWebClip. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -140,7 +140,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the iosLobApp object. + /// Read properties and relationships of the windowsMicrosoftEdgeApp object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -166,7 +166,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a windowsAppX object. + /// Update the properties of a win32LobApp object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -217,7 +217,7 @@ public MobileAppItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the iosLobApp object. + /// Read properties and relationships of the windowsMicrosoftEdgeApp object. /// public class MobileAppItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs index 4fbe295c909..2a799a5eef4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/MobileApps/MobileAppsRequestBuilder.cs @@ -52,8 +52,8 @@ public MobileAppsRequestBuilder(Dictionary pathParameters, IRequ public MobileAppsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the windowsUniversalAppX objects. - /// Find more info here + /// List properties and relationships of the iosVppApp objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -69,11 +69,11 @@ public async Task GetAsync(Action(requestInfo, MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new macOSOfficeSuiteApp object. - /// Find more info here + /// Create a new microsoftStoreForBusinessApp object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -91,10 +91,10 @@ public async Task PostAsync(MobileApp body, Action(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windowsUniversalAppX objects. + /// List properties and relationships of the iosVppApp objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -120,7 +120,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new macOSOfficeSuiteApp object. + /// Create a new microsoftStoreForBusinessApp object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -155,7 +155,7 @@ public MobileAppsRequestBuilder WithUrl(string rawUrl) { return new MobileAppsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windowsUniversalAppX objects. + /// List properties and relationships of the iosVppApp objects. /// public class MobileAppsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs index e247e0c04b1..49bba9d5bdc 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/SyncMicrosoftStoreForBusinessApps/SyncMicrosoftStoreForBusinessAppsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Syncs Intune account with Microsoft Store For Business diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs index 8895743a119..08419d71c2d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs index a2204c35687..57792cf0b27 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/AppsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to apps for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of apps to which the policy is deployed. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs index b4a661c00fe..357c03646f6 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs index 2b4724fd884..b84757e3b8b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Apps/Item/ManagedMobileAppItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// List of apps to which the policy is deployed. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property apps in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(ManagedMobileApp body, Action(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedMobileApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property apps for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs index 872cf8211b7..a80185d5671 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index bb661216657..33feea9c430 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(TargetedManagedA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index afa0538b118..00ce6f69491 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index 931712e5e29..f1cda2eb3ae 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to list of inclusion and exclusion groups to which the policy is deployed. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(TargetedManaged {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs index fe52ddafd5f..2481ed0533b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/DeploymentSummary/DeploymentSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to deployment summary of the configuration. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deploymentSummary in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(ManagedAppPolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppPolicyDeploymentSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deploymentSummary for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs index f1f49397057..c1a1e77f7b9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetApps/TargetAppsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TargetAppsPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs index e1b5ebbad01..e34223dbf4f 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/Item/TargetedManagedAppConfigurationItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the targetedManagedAppConfiguration object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, TargetedManagedAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a targetedManagedAppConfiguration object. @@ -113,7 +113,7 @@ public async Task PatchAsync(TargetedManagedApp {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a targetedManagedAppConfiguration. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs index 83305bd1794..c8bb6070e37 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/TargetedManagedAppConfigurations/TargetedManagedAppConfigurationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new targetedManagedAppConfiguration object. @@ -81,7 +81,7 @@ public async Task PostAsync(TargetedManagedAppC {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the targetedManagedAppConfiguration objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs index 9e3a07d9bda..56688a8bb49 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs index 78e9de0bbb4..c0cc02177a9 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/SyncLicenses/SyncLicensesRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Syncs licenses associated with a specific appleVolumePurchaseProgramToken diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs index ccd48cf5b48..0c75a418356 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/Item/VppTokenItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the vppToken object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a vppToken object. @@ -93,7 +93,7 @@ public async Task PatchAsync(VppToken body, Action(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a vppToken. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs index f01bcbd1f06..1af2d040a65 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/VppTokens/VppTokensRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, VppTokenCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VppTokenCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new vppToken object. @@ -81,7 +81,7 @@ public async Task PostAsync(VppToken body, Action(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VppToken.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the vppToken objects. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs index 14896ab8526..c3dd44c8fe3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs index 24e07b84b09..755c4e51b97 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/AssignmentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(TargetedManagedA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Navigation property to list of security groups targeted for policy. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs index ee56c646727..ea88fbe967b 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs index b33f43bcd32..62c436b9177 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/Assignments/Item/TargetedManagedAppPolicyAssignmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Navigation property to list of security groups targeted for policy. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(TargetedManaged {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TargetedManagedAppPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs index 1c7c5d3582a..c0f56220e57 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs index f634376727d..59b0e33a6f2 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/ExemptAppLockerFilesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task G {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to exemptAppLockerFiles for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(WindowsIn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Another way to input exempt apps through xml files diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index 95c47a883e7..1de820f27a4 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ExemptAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Another way to input exempt apps through xml files @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property exemptAppLockerFiles in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(WindowsI {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property exemptAppLockerFiles for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs index 86f111bccf5..4f55e67a8e3 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs index 9149cd8ca70..96f52d72b25 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/Item/WindowsInformationProtectionAppLockerFileItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Another way to input protected apps through xml files @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property protectedAppLockerFiles in deviceAppManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(WindowsI {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property protectedAppLockerFiles for deviceAppManagement diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs index e9fe22ecc98..33c46bed76a 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/ProtectedAppLockerFiles/ProtectedAppLockerFilesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task G {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to protectedAppLockerFiles for deviceAppManagement @@ -79,7 +79,7 @@ public async Task PostAsync(WindowsIn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLockerFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Another way to input protected apps through xml files diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs index 1f67f6b8286..e5d89a8c37d 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/Item/WindowsInformationProtectionPolicyItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsInformationProtectionPolicy object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsInformationProtectionPolicy object. @@ -103,7 +103,7 @@ public async Task PatchAsync(WindowsInformat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsInformationProtectionPolicy. diff --git a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs index 11dd8262f7a..7f8a28fb6dd 100644 --- a/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceAppManagement/WindowsInformationProtectionPolicies/WindowsInformationProtectionPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsInformationProtectionPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(WindowsInformati {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsInformationProtectionPolicy objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs index 546e0e0fb7f..a396dcf0f00 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/ApplePushNotificationCertificateRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the applePushNotificationCertificate object. @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ApplePushNotificationCertificate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ApplePushNotificationCertificate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a applePushNotificationCertificate object. @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ApplePushNotificationCertificate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ApplePushNotificationCertificate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property applePushNotificationCertificate for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs index cd0f409ec1b..940ee99e5a6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ApplePushNotificationCertificate/DownloadApplePushNotificationCertificateSigningRequest/DownloadApplePushNotificationCertificateSigningRequestRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DownloadApplePushNotificationCertificateSigningRequestResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DownloadApplePushNotificationCertificateSigningRequestResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Download Apple push notification certificate signing request diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs index dd298133aba..0ee71c7dbe5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/AuditEventsRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AuditEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuditEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getAuditActivityTypes method. @@ -95,7 +95,7 @@ public async Task PostAsync(AuditEvent body, Action(requestInfo, AuditEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuditEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the auditEvent objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs index 64245541911..a87c4444cd9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs index 398af40132f..6c3598e5501 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditActivityTypesWithCategory/GetAuditActivityTypesWithCategoryRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, GetAuditActivityTypesWithCategoryResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAuditActivityTypesWithCategoryResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAuditActivityTypes diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs index 949c6ed5d12..74cf1b676e6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/GetAuditCategories/GetAuditCategoriesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAuditCategoriesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAuditCategoriesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAuditCategories diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs index 617e376cdc5..6a6804dab22 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/AuditEvents/Item/AuditEventItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the auditEvent object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, AuditEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuditEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a auditEvent object. @@ -88,7 +88,7 @@ public async Task PatchAsync(AuditEvent body, Action(requestInfo, AuditEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuditEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a auditEvent. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs index 81071d984f2..d4ee6dc02a4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/ComplianceManagementPartnersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ComplianceManagementPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ComplianceManagementPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new complianceManagementPartner object. @@ -81,7 +81,7 @@ public async Task PostAsync(ComplianceManagementPar {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ComplianceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ComplianceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the complianceManagementPartner objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs index 69d792d2faf..25e0d597bce 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs index 238e2f0e62d..956f9201ed5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ComplianceManagementPartners/Item/ComplianceManagementPartnerItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the complianceManagementPartner object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ComplianceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ComplianceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a complianceManagementPartner object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ComplianceManagementPa {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ComplianceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ComplianceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a complianceManagementPartner. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs index 55356681340..98c250ca8f9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ConditionalAccessSettings/ConditionalAccessSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the onPremisesConditionalAccessSettings object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OnPremisesConditionalAccessSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnPremisesConditionalAccessSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a onPremisesConditionalAccessSettings object. @@ -87,7 +87,7 @@ public async Task PatchAsync(OnPremisesCond {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnPremisesConditionalAccessSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnPremisesConditionalAccessSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property conditionalAccessSettings for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs index 0819f1810b6..f73d949a8c5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs index b7babbc6ed3..c5fc1713d22 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/DetectedAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DetectedAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DetectedAppCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new detectedApp object. @@ -81,7 +81,7 @@ public async Task PostAsync(DetectedApp body, Action(requestInfo, DetectedApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DetectedApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the detectedApp objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs index 40ec33e99e4..0161b0c3449 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/DetectedAppItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the detectedApp object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DetectedApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DetectedApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a detectedApp object. @@ -93,7 +93,7 @@ public async Task PatchAsync(DetectedApp body, Action(requestInfo, DetectedApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DetectedApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a detectedApp. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs index eef9cb180b9..1bbd02d49bc 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 8ad90955938..723e67b6da1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The devices that have the discovered application installed diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs index b9972eb1393..d84c73fccd8 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DetectedApps/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The devices that have the discovered application installed diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs index 0502cfe36bb..180a6f41733 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs index c59c5de0862..ef4a3e6697a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/DeviceCategoriesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceCategory object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceCategory objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs index de4319df83d..d1f92de3d46 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCategories/Item/DeviceCategoryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceCategory object. @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceCategory object. @@ -88,7 +88,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceCategory. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs index 715585fee51..1c752ec2b67 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs index d9026e27f5f..3504fa86d54 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/DeviceCompliancePoliciesRequestBuilder.cs @@ -42,8 +42,8 @@ public DeviceCompliancePoliciesRequestBuilder(Dictionary pathPar public DeviceCompliancePoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the windows81CompliancePolicy objects. - /// Find more info here + /// List properties and relationships of the windows10MobileCompliancePolicy objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,11 +59,11 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new androidWorkProfileCompliancePolicy object. - /// Find more info here + /// Create a new windowsPhone81CompliancePolicy object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -81,10 +81,10 @@ public async Task PostAsync(DeviceCompliancePolicy body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the windows81CompliancePolicy objects. + /// List properties and relationships of the windows10MobileCompliancePolicy objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new androidWorkProfileCompliancePolicy object. + /// Create a new windowsPhone81CompliancePolicy object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public DeviceCompliancePoliciesRequestBuilder WithUrl(string rawUrl) { return new DeviceCompliancePoliciesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the windows81CompliancePolicy objects. + /// List properties and relationships of the windows10MobileCompliancePolicy objects. /// public class DeviceCompliancePoliciesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs index 91a6375ba15..00765956b1a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assign/AssignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignPostRequestBody body, Action(requestInfo, AssignResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssignResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs index 2ef5a3a38d2..c9e3f866cd2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/AssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceCompliancePolicyAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceCompliancePo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceCompliancePolicyAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs index b63594b8243..cfbdb7b2300 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs index 4446d94bdae..d2006c83c10 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/Assignments/Item/DeviceCompliancePolicyAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceCompliancePolicyAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceCompliancePolicyAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceComplianceP {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceCompliancePolicyAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs index 4142f7c71e2..c240aaa01e7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceCompliancePolicyItemRequestBuilder.cs @@ -74,8 +74,8 @@ public DeviceCompliancePolicyItemRequestBuilder(Dictionary pathP public DeviceCompliancePolicyItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a androidWorkProfileCompliancePolicy. - /// Find more info here + /// Deletes a androidCompliancePolicy. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -91,11 +91,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the macOSCompliancePolicy object. - /// Find more info here + /// Read properties and relationships of the iosCompliancePolicy object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -111,7 +111,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a androidCompliancePolicy object. @@ -133,10 +133,10 @@ public async Task PatchAsync(DeviceCompliancePolicy body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a androidWorkProfileCompliancePolicy. + /// Deletes a androidCompliancePolicy. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -160,7 +160,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the macOSCompliancePolicy object. + /// Read properties and relationships of the iosCompliancePolicy object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -237,7 +237,7 @@ public DeviceCompliancePolicyItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the macOSCompliancePolicy object. + /// Read properties and relationships of the iosCompliancePolicy object. /// public class DeviceCompliancePolicyItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs index 6337df7a45d..cb45e40051b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs index 5e516801917..c80e7f963cb 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SettingStateDeviceSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceSettingStateSummaries for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(SettingStateDeviceSummary {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Compliance Setting State Device Summary diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs index 535f051ffbf..a9edf9b6586 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Compliance Setting State Device Summary @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceSettingStateSummaries in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(SettingStateDeviceSummar {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceSettingStateSummaries for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs index 1a163f06eb5..2cad1d53b02 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceComplianceDeviceOverview object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DeviceComplianceDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceComplianceDeviceOverview object. @@ -87,7 +87,7 @@ public async Task PatchAsync(DeviceComplianceDev {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceStatusOverview for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs index 62f6abb6910..65d04590c28 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs index 6c84dfba3d6..fe977f45f42 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceComplianceDeviceStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceComplianceDevice {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceComplianceDeviceStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs index ad0c3fa9a1f..727002df77c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/DeviceStatuses/Item/DeviceComplianceDeviceStatusItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceComplianceDeviceStatus object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceComplianceDeviceStatus object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceComplianceDevic {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceComplianceDeviceStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs index 6aecd895465..e7d75831995 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduleActionsForRules/ScheduleActionsForRulesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ScheduleActionsForRulesPostRequestBody body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs index ad98729ad6d..d95a6aa5356 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs index 774aee84866..7777468522a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceComplianceScheduledActionForRule object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceComplianceScheduledActionForRule object. @@ -93,7 +93,7 @@ public async Task PatchAsync(DeviceCompl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceComplianceScheduledActionForRule. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs index 996852a2fe4..d356f6dc99b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs index 3eaf02f9684..0d8513b7fac 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/Item/DeviceComplianceActionItemItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceComplianceActionItem object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceComplianceActionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceActionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceComplianceActionItem object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceComplianceActionI {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceActionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceActionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceComplianceActionItem. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs index ec16b7c9150..0b2d8803dd6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/Item/ScheduledActionConfigurations/ScheduledActionConfigurationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceActionItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceActionItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceComplianceActionItem object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceComplianceActionIt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceActionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceActionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceComplianceActionItem objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs index bee23bae364..6f04085f563 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/ScheduledActionsForRule/ScheduledActionsForRuleRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceScheduledActionForRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceScheduledActionForRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceComplianceScheduledActionForRule object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceCompli {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceScheduledActionForRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceComplianceScheduledActionForRule objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs index 9a972ee18d2..ec9e1090ac9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceComplianceUserOverview object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DeviceComplianceUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceComplianceUserOverview object. @@ -87,7 +87,7 @@ public async Task PatchAsync(DeviceComplianceUserO {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userStatusOverview for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs index 39d6fc2706d..fabbd36fdae 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs index 963aa328d29..551d06d74ae 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/Item/DeviceComplianceUserStatusItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceComplianceUserStatus object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceComplianceUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceComplianceUserStatus object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceComplianceUserSta {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceComplianceUserStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs index 292c72c0f55..d2ecc1fc662 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicies/Item/UserStatuses/UserStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceComplianceUserStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceComplianceUserStat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceComplianceUserStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs index 34e529435ff..bfa851a3339 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicyDeviceStateSummary/DeviceCompliancePolicyDeviceStateSummaryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceCompliancePolicyDeviceStateSummary object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCompliancePolicyDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCompliancePolicyDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceCompliancePolicyDeviceStateSummary object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCompliancePolicyDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCompliancePolicyDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceCompliancePolicyDeviceStateSummary for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs index 261744a9766..18369c322c3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs index 2cc0eff8163..623a303a0ee 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/DeviceCompliancePolicySettingStateSummariesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task G {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicySettingStateSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicySettingStateSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceCompliancePolicySettingStateSummary object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceCom {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceCompliancePolicySettingStateSummary objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs index 593651db56f..8184b2c7a74 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceCompliancePolicySettingStateSummaryItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceCompliancePolicySettingStateSummary object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceCompliancePolicySettingStateSummary object. @@ -93,7 +93,7 @@ public async Task PatchAsync(DeviceCo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicySettingStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceCompliancePolicySettingStateSummary. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs index a1c882adfb8..8a48020092f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs index 30d6f34d505..e12d0462d38 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/DeviceComplianceSettingStatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceSettingStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceSettingStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceComplianceSettingState object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceComplianceSettin {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceSettingState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceSettingState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceComplianceSettingState objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs index c5c96b98546..481bdc072a4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceCompliancePolicySettingStateSummaries/Item/DeviceComplianceSettingStates/Item/DeviceComplianceSettingStateItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceComplianceSettingState object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceComplianceSettingState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceSettingState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceComplianceSettingState object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceComplianceSetti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceSettingState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceComplianceSettingState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceComplianceSettingState. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs index 63018b66516..eff630718d7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurationDeviceStateSummaries/DeviceConfigurationDeviceStateSummariesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceConfigurationDeviceStateSummary object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceConfigurationDeviceStateSummary object. @@ -87,7 +87,7 @@ public async Task PatchAsync(DeviceConfig {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStateSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceConfigurationDeviceStateSummaries for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs index fd9e3e30427..279c64c90c1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs index b2d48cfe71b..a0e022f752a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/DeviceConfigurationsRequestBuilder.cs @@ -42,8 +42,8 @@ public DeviceConfigurationsRequestBuilder(Dictionary pathParamet public DeviceConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the androidWorkProfileCustomConfiguration objects. - /// Find more info here + /// List properties and relationships of the windows81GeneralConfiguration objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,11 +59,11 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new windowsPhone81GeneralConfiguration object. - /// Find more info here + /// Create a new androidWorkProfileGeneralDeviceConfiguration object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -81,10 +81,10 @@ public async Task PostAsync(DeviceConfiguration body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the androidWorkProfileCustomConfiguration objects. + /// List properties and relationships of the windows81GeneralConfiguration objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new windowsPhone81GeneralConfiguration object. + /// Create a new androidWorkProfileGeneralDeviceConfiguration object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -145,7 +145,7 @@ public DeviceConfigurationsRequestBuilder WithUrl(string rawUrl) { return new DeviceConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the androidWorkProfileCustomConfiguration objects. + /// List properties and relationships of the windows81GeneralConfiguration objects. /// public class DeviceConfigurationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs index 0dd490215be..f0655175c9c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignPostRequestBody body, Action(requestInfo, AssignResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssignResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index 8af3f0cb2cf..6eedf1e060b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceConfigurationAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceConfigurationAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceConfigurationAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index 40bdc87ca16..d0bfbd1e63b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs index f12b60e5839..f04709f1ad8 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/Assignments/Item/DeviceConfigurationAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceConfigurationAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceConfigurationAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceConfigurationA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceConfigurationAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs index 1725dbf5329..e97f2e8c817 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceConfigurationItemRequestBuilder.cs @@ -65,8 +65,8 @@ public DeviceConfigurationItemRequestBuilder(Dictionary pathPara public DeviceConfigurationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceConfigurations/{deviceConfiguration%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a windows10EnterpriseModernAppManagementConfiguration. - /// Find more info here + /// Deletes a windows10TeamGeneralConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -82,11 +82,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. - /// Find more info here + /// Read properties and relationships of the windows10EndpointProtectionConfiguration object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -102,7 +102,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getOmaSettingPlainTextValue method. @@ -113,8 +113,8 @@ public GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder GetOm return new GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder(PathParameters, RequestAdapter, secretReferenceValueId); } /// - /// Update the properties of a macOSCustomConfiguration object. - /// Find more info here + /// Update the properties of a windows10EnterpriseModernAppManagementConfiguration object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -132,10 +132,10 @@ public async Task PatchAsync(DeviceConfiguration body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a windows10EnterpriseModernAppManagementConfiguration. + /// Deletes a windows10TeamGeneralConfiguration. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -159,7 +159,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. + /// Read properties and relationships of the windows10EndpointProtectionConfiguration object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -185,7 +185,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a macOSCustomConfiguration object. + /// Update the properties of a windows10EnterpriseModernAppManagementConfiguration object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -236,7 +236,7 @@ public DeviceConfigurationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the windowsDefenderAdvancedThreatProtectionConfiguration object. + /// Read properties and relationships of the windows10EndpointProtectionConfiguration object. /// public class DeviceConfigurationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs index 461857ddf7a..8ecdc3d56f0 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs index 69ff923c49f..9621dd5cb4a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/DeviceSettingStateSummariesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SettingStateDeviceSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new settingStateDeviceSummary object. @@ -81,7 +81,7 @@ public async Task PostAsync(SettingStateDeviceSummary {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the settingStateDeviceSummary objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs index 98553f1ab57..d902fd6799b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceSettingStateSummaries/Item/SettingStateDeviceSummaryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the settingStateDeviceSummary object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a settingStateDeviceSummary object. @@ -88,7 +88,7 @@ public async Task PatchAsync(SettingStateDeviceSummar {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SettingStateDeviceSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a settingStateDeviceSummary. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs index 7eb14b8f2be..5ad9a2e3149 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatusOverview/DeviceStatusOverviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceConfigurationDeviceOverview object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceConfigurationDeviceOverview object. @@ -87,7 +87,7 @@ public async Task PatchAsync(DeviceConfigurat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceStatusOverview for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs index 13023dcc76f..541166d4e04 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs index 1d67ab40fa0..6a236508d52 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/DeviceStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceConfigurationDeviceStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceConfiguration {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceConfigurationDeviceStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs index 3aac9f1bb26..a0124ea906e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/DeviceStatuses/Item/DeviceConfigurationDeviceStatusItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceConfigurationDeviceStatus object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceConfigurationDeviceStatus object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceConfiguratio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceConfigurationDeviceStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs index d0507aac070..a83f67fc3e6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/GetOmaSettingPlainTextValueWithSecretReferenceValueId/GetOmaSettingPlainTextValueWithSecretReferenceValueIdRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetOmaSettingPlainTextValueWithSecretReferenceValueIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetOmaSettingPlainTextValueWithSecretReferenceValueIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOmaSettingPlainTextValue diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs index 8e632ac2482..805581d5120 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatusOverview/UserStatusOverviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceConfigurationUserOverview object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceConfigurationUserOverview object. @@ -87,7 +87,7 @@ public async Task PatchAsync(DeviceConfiguratio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userStatusOverview for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs index edfe89f25e9..08fb777e3ce 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs index 58d7761a352..df411766e17 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/Item/DeviceConfigurationUserStatusItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceConfigurationUserStatus object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceConfigurationUserStatus object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceConfigurationU {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceConfigurationUserStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs index 7bfc65fabd7..1d85bc57b59 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceConfigurations/Item/UserStatuses/UserStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceConfigurationUserStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceConfigurationUs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationUserStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceConfigurationUserStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs index ed6591a54fd..f381066ac58 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs index ea3ae6878a6..61ec6af9d09 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/DeviceEnrollmentConfigurationsRequestBuilder.cs @@ -42,8 +42,8 @@ public DeviceEnrollmentConfigurationsRequestBuilder(Dictionary p public DeviceEnrollmentConfigurationsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/deviceEnrollmentConfigurations{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. - /// Find more info here + /// List properties and relationships of the deviceEnrollmentConfiguration objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceEnrollmentPlatformRestrictionsConfiguration object. @@ -81,10 +81,10 @@ public async Task PostAsync(DeviceEnrollmentConfi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + /// List properties and relationships of the deviceEnrollmentConfiguration objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -145,7 +145,7 @@ public DeviceEnrollmentConfigurationsRequestBuilder WithUrl(string rawUrl) { return new DeviceEnrollmentConfigurationsRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the deviceEnrollmentPlatformRestrictionsConfiguration objects. + /// List properties and relationships of the deviceEnrollmentConfiguration objects. /// public class DeviceEnrollmentConfigurationsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs index 1f2b4591d04..638202cef2a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assign/AssignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs index 965696a644b..669fae2fe6f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/AssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EnrollmentConfigurationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EnrollmentConfigurationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new enrollmentConfigurationAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(EnrollmentConfigu {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the enrollmentConfigurationAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs index 5b03a513259..054a6fdc270 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs index 4bffcc89a3e..a9fa49bec60 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/Assignments/Item/EnrollmentConfigurationAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the enrollmentConfigurationAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a enrollmentConfigurationAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(EnrollmentConfig {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EnrollmentConfigurationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a enrollmentConfigurationAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs index 0f4e0ae9a02..51a21d85bcc 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/DeviceEnrollmentConfigurationItemRequestBuilder.cs @@ -44,8 +44,8 @@ public DeviceEnrollmentConfigurationItemRequestBuilder(Dictionary - /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. - /// Find more info here + /// Deletes a deviceEnrollmentLimitConfiguration. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -61,11 +61,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the deviceEnrollmentConfiguration object. - /// Find more info here + /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -81,11 +81,11 @@ public async Task GetAsync(Action(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. - /// Find more info here + /// Update the properties of a deviceEnrollmentLimitConfiguration object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -103,10 +103,10 @@ public async Task PatchAsync(DeviceEnrollmentConf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceEnrollmentConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a deviceEnrollmentPlatformRestrictionsConfiguration. + /// Deletes a deviceEnrollmentLimitConfiguration. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -130,7 +130,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the deviceEnrollmentConfiguration object. + /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -156,7 +156,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a deviceEnrollmentPlatformRestrictionsConfiguration object. + /// Update the properties of a deviceEnrollmentLimitConfiguration object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -207,7 +207,7 @@ public DeviceEnrollmentConfigurationItemRequestBuilderDeleteRequestConfiguration } } /// - /// Read properties and relationships of the deviceEnrollmentConfiguration object. + /// Read properties and relationships of the deviceEnrollmentWindowsHelloForBusinessConfiguration object. /// public class DeviceEnrollmentConfigurationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs index 664c4b44d25..dd2438c1c38 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceEnrollmentConfigurations/Item/SetPriority/SetPriorityRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetPriorityPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs index 4ca587501b6..7625e52a6e2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs index 8a0ca9f705a..196448bc9f1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/DeviceManagementPartnersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceManagementPartner object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceManagementPartner bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceManagementPartner objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs index 54e767e6c87..5fada1f7859 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/DeviceManagementPartnerItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceManagementPartner object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceManagementPartner object. @@ -93,7 +93,7 @@ public async Task PatchAsync(DeviceManagementPartner bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceManagementPartner. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs index 2b8e7232189..cbdca31cb9e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementPartners/Item/Terminate/TerminateRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs index 551cec47802..ff3a8e26c5c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/DeviceManagementRequestBuilder.cs @@ -44,6 +44,7 @@ using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDevicePerformance; using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceScores; using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupHistory; +using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance; using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcesses; using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsMetricHistory; using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsModelScores; @@ -253,6 +254,10 @@ public class DeviceManagementRequestBuilder : BaseRequestBuilder { public UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder UserExperienceAnalyticsDeviceStartupProcesses { get => new UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder(PathParameters, RequestAdapter); } + /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. + public UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder UserExperienceAnalyticsDeviceStartupProcessPerformance { get => + new UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder(PathParameters, RequestAdapter); + } /// Provides operations to manage the userExperienceAnalyticsMetricHistory property of the microsoft.graph.deviceManagement entity. public UserExperienceAnalyticsMetricHistoryRequestBuilder UserExperienceAnalyticsMetricHistory { get => new UserExperienceAnalyticsMetricHistoryRequestBuilder(PathParameters, RequestAdapter); @@ -317,7 +322,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Read properties and relationships of the deviceManagement object. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -333,7 +338,7 @@ public DeviceManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getEffectivePermissions method. @@ -345,7 +350,7 @@ public GetEffectivePermissionsWithScopeRequestBuilder GetEffectivePermissionsWit } /// /// Update the properties of a deviceManagement object. - /// Find more info here + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -363,7 +368,7 @@ public GetEffectivePermissionsWithScopeRequestBuilder GetEffectivePermissionsWit {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read properties and relationships of the deviceManagement object. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs index 5951a4b1249..7a2dbdff1ed 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs index c13ef013fbf..4a33f4f7ad2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/ExchangeConnectorsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExchangeConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExchangeConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceManagementExchangeConnector object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceManagementE {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExchangeConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExchangeConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceManagementExchangeConnector objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs index 08fc7e53d2f..b41813b2f59 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/DeviceManagementExchangeConnectorItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceManagementExchangeConnector object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementExchangeConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExchangeConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceManagementExchangeConnector object. @@ -93,7 +93,7 @@ public async Task PatchAsync(DeviceManagement {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExchangeConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExchangeConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceManagementExchangeConnector. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs index c5de4d193bc..7ef73e2c243 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ExchangeConnectors/Item/Sync/SyncRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SyncPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs index e8dbeb20284..7de241c8ed3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/GetEffectivePermissionsWithScope/GetEffectivePermissionsWithScopeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, GetEffectivePermissionsWithScopeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetEffectivePermissionsWithScopeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieves the effective permissions of the currently authenticated user diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs index 79240eea5f8..299c933b700 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs index 2130fe614d8..2567acd4ac6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Import/ImportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImportPostRequestBody body, Action(requestInfo, ImportResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImportResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs index 4315b956927..57274080087 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/ImportedWindowsAutopilotDeviceIdentitiesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ImportedWindowsAutopilotDeviceIdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImportedWindowsAutopilotDeviceIdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new importedWindowsAutopilotDeviceIdentity object. @@ -86,7 +86,7 @@ public async Task PostAsync(ImportedWind {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the importedWindowsAutopilotDeviceIdentity objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs index b1883a23fe6..3ed5126c5c7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ImportedWindowsAutopilotDeviceIdentities/Item/ImportedWindowsAutopilotDeviceIdentityItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the importedWindowsAutopilotDeviceIdentity object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property importedWindowsAutopilotDeviceIdentities in deviceManagement @@ -87,7 +87,7 @@ public async Task PatchAsync(ImportedWin {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImportedWindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a importedWindowsAutopilotDeviceIdentity. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs index 1556c515fb7..0bbfa7f704c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs index d42140a463f..e11b46ba644 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/IosUpdateStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, IosUpdateDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosUpdateDeviceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new iosUpdateDeviceStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(IosUpdateDeviceStatus body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IosUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the iosUpdateDeviceStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs index 678a66b35a6..0fa56a5aeef 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/IosUpdateStatuses/Item/IosUpdateDeviceStatusItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the iosUpdateDeviceStatus object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, IosUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a iosUpdateDeviceStatus object. @@ -88,7 +88,7 @@ public async Task PatchAsync(IosUpdateDeviceStatus body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IosUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IosUpdateDeviceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a iosUpdateDeviceStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs index 40e75e1eddb..da760322b7c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDeviceOverview/ManagedDeviceOverviewRequestBuilder.cs @@ -46,7 +46,7 @@ public ManagedDeviceOverviewRequestBuilder(string rawUrl, IRequestAdapter reques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ManagedDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ManagedDeviceOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read properties and relationships of the managedDeviceOverview object. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs index 0628da270a6..a41ffbdd6ed 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs index 69a48b30547..2992b8a9ac6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Bypass activation lock diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs index 01cdf21c8f4..b1bbe77b7db 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CleanWindowsDevicePostRequestBody body, Action /// Clean Windows device diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs index e16303890a5..1cb4a74300a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeleteUserFromSharedAppleDevicePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete user from shared Apple device diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs index abb7677d83f..37df8822635 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceCategory object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceCategory object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceCategory for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs index adb6a5d9dd7..facbcba7f93 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs index b0d75afdb7f..fb7ee194775 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceCompliancePolicyStates for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceCompliancePolicyS {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Device compliance policy states for this device. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs index 0056508a011..e48b041e5ed 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Device compliance policy states for this device. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceCompliancePolicyStates in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceCompliancePolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceCompliancePolicyStates for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs index 7a483bd9719..3a5fb58fb45 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs index a4244123226..5e0d8451e22 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceConfigurationStates for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceConfigurationState b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Device configuration states for this device. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs index a344befd8ac..76aefe1cd70 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Device configuration states for this device. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceConfigurationStates in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceConfigurationState {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceConfigurationStates for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs index afd913896a1..291541826c1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Disable lost mode diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs index 6da17ebee8c..b4deb63cd52 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Locate a device diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs index 16698910cb6..793347c0394 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs index d21348867cf..c6562430208 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action(requestInfo, CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action createDownloadUrl diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs index c2074fc9b16..225bf58d7c5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// List of log collection requests @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property logCollectionRequests in deviceManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(DeviceLogCollectionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property logCollectionRequests for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs index ce4a54f4f07..a495f8690bb 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to logCollectionRequests for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceLogCollectionResp {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of log collection requests diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs index 1d37937aaa5..78027862c62 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Logout shared Apple device active user diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 9923bc08ce4..4a81f8ea81e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -166,7 +166,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the managedDevice object. @@ -186,7 +186,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a managedDevice object. @@ -208,7 +208,7 @@ public async Task PatchAsync(ManagedDevice body, Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a managedDevice. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs index 35f0838529b..284cd9de9f7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reboot device diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs index 2a790ebed0c..cb7e0966e02 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Recover passcode diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs index 267fc4cd198..6064401445d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remote lock diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs index b085237eef3..d294f7eaef6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Request remote assistance diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs index 84307d4a9a1..11c02ea1d72 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reset passcode diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs index 149fd84f913..e4d9d7d5e8a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Retire/RetireRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retire a device diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs index 3ad58fdde24..28b6077f3e2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Shut down device diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs index 8db40a2aaae..5087805d41c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs index 8a54efecaca..38ba1f2aa78 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpdateWindowsDeviceAccountPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs index 621b716bc1c..f818dcfa65a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Users/UsersRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the user objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs index e1d2a7d81d8..1bd2bca8d20 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WindowsDefenderScanPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs index cdabdebf673..9fd7e0c5273 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs index 52b94b163d1..4bf4bbff064 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs index fb0f6cbf892..75d9c795977 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsDeviceMalwareState object. @@ -81,7 +81,7 @@ public async Task PostAsync(WindowsDeviceMalwareState {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsDeviceMalwareState objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs index 798b1ffd2ff..949cbaed6fd 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsDeviceMalwareState object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsDeviceMalwareState object. @@ -88,7 +88,7 @@ public async Task PatchAsync(WindowsDeviceMalwareStat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsDeviceMalwareState. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs index 710187fb289..22faa4c5b22 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsProtectionState object. @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsProtectionState object. @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property windowsProtectionState for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs index 240c520e572..9bd8ca3f2ad 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WipePostRequestBody body, Action /// Wipe a device diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs index c89b3538433..8bfe4f3c8cb 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ManagedDevices/ManagedDevicesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new managedDevice object. @@ -81,7 +81,7 @@ public async Task PostAsync(ManagedDevice body, Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the managedDevice objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs index 06ec3370b86..d2a92d883cf 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs index 1565785efdc..d195f0fe009 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/AppLogCollectionRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AppLogCollectionRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppLogCollectionRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new appLogCollectionRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(AppLogCollectionRequest bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the appLogCollectionRequest objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs index c900a2ce8eb..77db4783cc2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs index a468f2eb013..e221a7a7cb2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/AppLogCollectionRequestItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the appLogCollectionRequest object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a appLogCollectionRequest object. @@ -93,7 +93,7 @@ public async Task PatchAsync(AppLogCollectionRequest bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppLogCollectionRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a appLogCollectionRequest. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs index b069edc8382..3979c5dfb1a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/AppLogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, AppLogCollectionDownloadDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppLogCollectionDownloadDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs index 6f0cf0ae624..73b62954b29 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/Item/MobileAppTroubleshootingEventItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the mobileAppTroubleshootingEvent object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a mobileAppTroubleshootingEvent object. @@ -93,7 +93,7 @@ public async Task PatchAsync(MobileAppTroubleshoo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a mobileAppTroubleshootingEvent. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs index 54d23c115c6..e43b8ac0df7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileAppTroubleshootingEvents/MobileAppTroubleshootingEventsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileAppTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new mobileAppTroubleshootingEvent object. @@ -81,7 +81,7 @@ public async Task PostAsync(MobileAppTroubleshoot {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileAppTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the mobileAppTroubleshootingEvent objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs index a0b36c18758..a45ee80917d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs index 8bddc2f9aca..a006650a189 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/Item/MobileThreatDefenseConnectorItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the mobileThreatDefenseConnector object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MobileThreatDefenseConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileThreatDefenseConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a mobileThreatDefenseConnector object. @@ -88,7 +88,7 @@ public async Task PatchAsync(MobileThreatDefenseCo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileThreatDefenseConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileThreatDefenseConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a mobileThreatDefenseConnector. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs index c0b3f1f0d40..2f375517445 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/MobileThreatDefenseConnectors/MobileThreatDefenseConnectorsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileThreatDefenseConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileThreatDefenseConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new mobileThreatDefenseConnector object. @@ -81,7 +81,7 @@ public async Task PostAsync(MobileThreatDefenseCon {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MobileThreatDefenseConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MobileThreatDefenseConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the mobileThreatDefenseConnector objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs index fd4866a4bfa..29157f726b6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs index 234dc243163..3bc52773fb8 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs index 40de5c2511d..ab9f554e192 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/Item/LocalizedNotificationMessageItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the localizedNotificationMessage object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, LocalizedNotificationMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LocalizedNotificationMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a localizedNotificationMessage object. @@ -88,7 +88,7 @@ public async Task PatchAsync(LocalizedNotification {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LocalizedNotificationMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LocalizedNotificationMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a localizedNotificationMessage. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs index cc023be7ec9..d43650117d2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/LocalizedNotificationMessages/LocalizedNotificationMessagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LocalizedNotificationMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LocalizedNotificationMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new localizedNotificationMessage object. @@ -81,7 +81,7 @@ public async Task PostAsync(LocalizedNotificationM {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LocalizedNotificationMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LocalizedNotificationMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the localizedNotificationMessage objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs index ddbd80b0021..44bb6b385a1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/NotificationMessageTemplateItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the notificationMessageTemplate object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, NotificationMessageTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotificationMessageTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a notificationMessageTemplate object. @@ -98,7 +98,7 @@ public async Task PatchAsync(NotificationMessageTem {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, NotificationMessageTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotificationMessageTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a notificationMessageTemplate. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs index 75e189cd1ee..cddac8b15e9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/Item/SendTestMessage/SendTestMessageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Sends test message using the specified notificationMessageTemplate in the default locale diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs index fb7fe914335..2d997041b5f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/NotificationMessageTemplates/NotificationMessageTemplatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, NotificationMessageTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotificationMessageTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new notificationMessageTemplate object. @@ -81,7 +81,7 @@ public async Task PostAsync(NotificationMessageTemp {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, NotificationMessageTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotificationMessageTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the notificationMessageTemplate objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs index b9eb809e0d1..6909a54b7d4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs index 76168c12327..518945bd791 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/BeginOnboarding/BeginOnboardingRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// A request to start onboarding. Must be coupled with the appropriate TeamViewer account information diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs index 21fe6cc882b..b31334231ef 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/Disconnect/DisconnectRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// A request to remove the active TeamViewer connector diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs index 4648a322c8b..dc178b20916 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/Item/RemoteAssistancePartnerItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the remoteAssistancePartner object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, RemoteAssistancePartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoteAssistancePartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a remoteAssistancePartner object. @@ -98,7 +98,7 @@ public async Task PatchAsync(RemoteAssistancePartner bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RemoteAssistancePartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoteAssistancePartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a remoteAssistancePartner. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs index 9e3897499ab..c74baf2693b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RemoteAssistancePartners/RemoteAssistancePartnersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RemoteAssistancePartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoteAssistancePartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new remoteAssistancePartner object. @@ -81,7 +81,7 @@ public async Task PostAsync(RemoteAssistancePartner bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RemoteAssistancePartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoteAssistancePartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the remoteAssistancePartner objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs index 4478f98fe6e..b9e90e9b47f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs index 3194baf15af..8e84ef90f1b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/ExportJobsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementExportJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExportJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceManagementExportJob object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceManagementExportJob {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExportJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExportJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceManagementExportJob objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs index df071df06c3..8e4b13ba047 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ExportJobs/Item/DeviceManagementExportJobItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceManagementExportJob object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementExportJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExportJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceManagementExportJob object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DeviceManagementExportJo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExportJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementExportJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceManagementExportJob. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs index 16eaafc9367..b2a815122a4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCachedReport/GetCachedReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetCachedReportPostRequestBody body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs index 0b8cdf7a49b..6dc54b3f716 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceReport/GetCompliancePolicyNonComplianceReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetCompliancePolicyNonComplianceReportPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs index cb0d566c0f0..2e7183c3aa6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetCompliancePolicyNonComplianceSummaryReport/GetCompliancePolicyNonComplianceSummaryReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetCompliancePolicyNonComplianceSummaryRepor {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs index 2336be7f5fa..69bec1b46ed 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetComplianceSettingNonComplianceReport/GetComplianceSettingNonComplianceReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetComplianceSettingNonComplianceReportPostR {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs index cab2a3758ff..c3ddd77720e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceReport/GetConfigurationPolicyNonComplianceReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetConfigurationPolicyNonComplianceReportPos {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs index 8881845ffea..c3526cf72ba 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationPolicyNonComplianceSummaryReport/GetConfigurationPolicyNonComplianceSummaryReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetConfigurationPolicyNonComplianceSummaryRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs index e9ee8594de2..5a6663dba41 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetConfigurationSettingNonComplianceReport/GetConfigurationSettingNonComplianceReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetConfigurationSettingNonComplianceReportPo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs index 3b4ba94cf2f..af378992ace 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentPerSettingContributingProfiles/GetDeviceManagementIntentPerSettingContributingProfilesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetDeviceManagementIntentPerSettingContribut {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs index f061682b125..105333761cb 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceManagementIntentSettingsReport/GetDeviceManagementIntentSettingsReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetDeviceManagementIntentSettingsReportPostR {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs index 683c892182b..6c1f8ee37f4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDeviceNonComplianceReport/GetDeviceNonComplianceReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetDeviceNonComplianceReportPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs index 6328d13532e..bb6ce2ba24d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetDevicesWithoutCompliancePolicyReport/GetDevicesWithoutCompliancePolicyReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetDevicesWithoutCompliancePolicyReportPostR {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs index 29d25b6d39c..eb41d5d210a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetHistoricalReport/GetHistoricalReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetHistoricalReportPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs index 5fd60aa8396..de623aa10ef 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetNoncompliantDevicesAndSettingsReport/GetNoncompliantDevicesAndSettingsReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetNoncompliantDevicesAndSettingsReportPostR {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs index 4f5968c174f..4f7497a4d7f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceMetadata/GetPolicyNonComplianceMetadataRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetPolicyNonComplianceMetadataPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs index 4fa228dcf8d..9cdabefe717 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceReport/GetPolicyNonComplianceReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetPolicyNonComplianceReportPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs index 419d613b2c4..c90517fad80 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetPolicyNonComplianceSummaryReport/GetPolicyNonComplianceSummaryReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetPolicyNonComplianceSummaryReportPostReque {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs index f8f08c80259..3cd38ca1045 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetReportFilters/GetReportFiltersRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetReportFiltersPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs index 1b711b2a7fc..a77cf1697cc 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/GetSettingNonComplianceReport/GetSettingNonComplianceReportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSettingNonComplianceReportPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs index f032c16463e..b4f0888d300 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/Reports/ReportsRequestBuilder.cs @@ -140,7 +140,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceManagementReports object. @@ -160,7 +160,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementReports.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementReports.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceManagementReports object. @@ -182,7 +182,7 @@ public async Task PatchAsync(DeviceManagementReports bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementReports.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementReports.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property reports for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs index 2acadb73dbe..f24a5188f6a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs index 277bcf0d208..4d2554a740b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/Item/ResourceOperationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the resourceOperation object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ResourceOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a resourceOperation object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ResourceOperation body, Action(requestInfo, ResourceOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a resourceOperation. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs index 244ea3e283c..88e599b703b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/ResourceOperations/ResourceOperationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ResourceOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new resourceOperation object. @@ -81,7 +81,7 @@ public async Task PostAsync(ResourceOperation body, Action(requestInfo, ResourceOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the resourceOperation objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs index 5b86a05ded8..13f45216290 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs index ed1f3b8214f..fd070a1af49 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/DeviceAndAppManagementRoleAssignmentItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceAndAppManagementRoleAssignment object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceAndAppManagementRoleAssignment object. @@ -93,7 +93,7 @@ public async Task PatchAsync(DeviceAndAppM {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a deviceAndAppManagementRoleAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index dfd03c0e164..af7efa34af9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public RoleDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Role definition this assignment is part of. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs index 6c6cecbf2e8..51d0cc5f785 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceAndAppManagementRoleAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(DeviceAndAppMa {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the deviceAndAppManagementRoleAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs index 92ae66d36ae..7d8ba505859 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs index e3969d9dec9..7fcf1f480f9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs index c691362f631..cb0fcb8e61a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleAssignmentItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the roleAssignment object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, RoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a roleAssignment object. @@ -93,7 +93,7 @@ public async Task PatchAsync(RoleAssignment body, Action(requestInfo, RoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a roleAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index bdb6b65c9bb..d8b4f6a60a4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public RoleDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Role definition this assignment is part of. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs index 1de14990b30..f7d8caac3bc 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new roleAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(RoleAssignment body, Action(requestInfo, RoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the roleAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs index 5e047d040aa..1a662ff43e1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/Item/RoleDefinitionItemRequestBuilder.cs @@ -34,8 +34,8 @@ public RoleDefinitionItemRequestBuilder(Dictionary pathParameter public RoleDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/roleDefinitions/{roleDefinition%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Deletes a roleDefinition. - /// Find more info here + /// Deletes a deviceAndAppManagementRoleDefinition. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the roleDefinition object. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceAndAppManagementRoleDefinition object. @@ -93,10 +93,10 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Deletes a roleDefinition. + /// Deletes a deviceAndAppManagementRoleDefinition. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs index ce419b33f43..3e973c56fb2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new deviceAndAppManagementRoleDefinition object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the roleDefinition objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs index 7cad2cd4207..ce8544c1a61 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/SoftwareUpdateStatusSummary/SoftwareUpdateStatusSummaryRequestBuilder.cs @@ -46,7 +46,7 @@ public SoftwareUpdateStatusSummaryRequestBuilder(string rawUrl, IRequestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.SoftwareUpdateStatusSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.SoftwareUpdateStatusSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read properties and relationships of the softwareUpdateStatusSummary object. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs index fad82f67021..2aed4a7a613 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs index 5dfbaaef087..9586fdc5750 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/Item/TelecomExpenseManagementPartnerItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the telecomExpenseManagementPartner object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TelecomExpenseManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TelecomExpenseManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a telecomExpenseManagementPartner object. @@ -88,7 +88,7 @@ public async Task PatchAsync(TelecomExpenseMana {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TelecomExpenseManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TelecomExpenseManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a telecomExpenseManagementPartner. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs index be44f5907e1..916ddfb7bd9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TelecomExpenseManagementPartners/TelecomExpenseManagementPartnersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TelecomExpenseManagementPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TelecomExpenseManagementPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new telecomExpenseManagementPartner object. @@ -81,7 +81,7 @@ public async Task PostAsync(TelecomExpenseManag {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TelecomExpenseManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TelecomExpenseManagementPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the telecomExpenseManagementPartner objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs index 3e4b9fd0be0..b9499b7760d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs index b5ab09be10e..9a0135ec32b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/AcceptanceStatusesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAcceptanceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAcceptanceStatusCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new termsAndConditionsAcceptanceStatus object. @@ -81,7 +81,7 @@ public async Task PostAsync(TermsAndConditio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAcceptanceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAcceptanceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the termsAndConditionsAcceptanceStatus objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs index f5e9bddf329..7ead2cc09c1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs index df166ddce20..6d0caa5c823 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditions/TermsAndConditionsRequestBuilder.cs @@ -45,7 +45,7 @@ public TermsAndConditionsRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Navigation link to the terms and conditions that are assigned. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs index d9546647934..771723c6482 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/AcceptanceStatuses/Item/TermsAndConditionsAcceptanceStatusItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the termsAndConditionsAcceptanceStatus object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TermsAndConditionsAcceptanceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAcceptanceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a termsAndConditionsAcceptanceStatus object. @@ -93,7 +93,7 @@ public async Task PatchAsync(TermsAndConditi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAcceptanceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAcceptanceStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a termsAndConditionsAcceptanceStatus. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs index ffc2f066181..f1153d9b5ed 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/AssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new termsAndConditionsAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(TermsAndConditionsAssi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the termsAndConditionsAssignment objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs index 624c6cf2cfc..be75988b1f3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs index 4b38c2d5ae9..b2a311022eb 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/Assignments/Item/TermsAndConditionsAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the termsAndConditionsAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TermsAndConditionsAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a termsAndConditionsAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(TermsAndConditionsAss {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a termsAndConditionsAssignment. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs index 1b853a02662..3f98ef41125 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/Item/TermsAndConditionsItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the termsAndConditions object. @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a termsAndConditions object. @@ -98,7 +98,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a termsAndConditions. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs index 6abc4cd8eda..095fd9cd891 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TermsAndConditions/TermsAndConditionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermsAndConditionsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsAndConditionsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new termsAndConditions object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermsAndConditions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the termsAndConditions objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs index 8f86e4f049b..dd6a0480b3f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs index 1442db83fc8..6a9a9be0523 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The list of troubleshooting events for the tenant. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property troubleshootingEvents in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceManagem {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property troubleshootingEvents for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs index a8b18bae7f1..240b3fe4079 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/TroubleshootingEvents/TroubleshootingEventsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to troubleshootingEvents for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceManageme {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of troubleshooting events for the tenant. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs index 65de9fae136..15ba9ffeff7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs index 2b5b67e0c60..b68d4c605b0 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/Item/UserExperienceAnalyticsAppHealthApplicationPerformanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth Application Performance @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthApplicationPerformance in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformance for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs index 589a6120845..a11cf97dab4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformance/UserExperienceAnalyticsAppHealthApplicationPerformanceRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthApplicationPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformance for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthApplicationPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics appHealth Application Performance diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs index 531ecc538d9..dd371ea12df 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs index 226a4af859a..65f97d594f7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth Application Performance by App Version details @@ -64,7 +64,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails in deviceManagement @@ -85,7 +85,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs index 6c7015521f7..38588704486 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetailsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDetails for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics appHealth Application Performance by App Version details diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs index fb682ade657..009611a72b3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs index 58a970898fd..e3e8ea02045 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/Item/UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth Application Performance by App Version Device Id @@ -64,7 +64,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId in deviceManagement @@ -85,7 +85,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs index 29b4c560953..09822f9e1a8 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId/UserExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceIdRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceIdCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformanceByAppVersionDeviceId for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByAppVersionDeviceId.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics appHealth Application Performance by App Version Device Id diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs index 1b6b2fceff1..00001916a63 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs index 79b6a147a6d..51c6d1b010b 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/Item/UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth Application Performance by OS Version @@ -64,7 +64,7 @@ public async Task Get {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion in deviceManagement @@ -85,7 +85,7 @@ public async Task Pat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs index da847f68e89..28cc80990dd 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion/UserExperienceAnalyticsAppHealthApplicationPerformanceByOSVersionRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthApplicationPerformanceByOSVersion for deviceManagement @@ -79,7 +79,7 @@ public async Task Pos {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthAppPerformanceByOSVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics appHealth Application Performance by OS Version diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs index 8ef8e1a0d31..4f70ecd94b0 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs index a2732aa6548..23206c6c410 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/Item/UserExperienceAnalyticsAppHealthDeviceModelPerformanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth Model Performance @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthDeviceModelPerformance in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthDeviceModelPerformance for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs index 3ba66023ee2..4c2d4d853cb 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDeviceModelPerformance/UserExperienceAnalyticsAppHealthDeviceModelPerformanceRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthDeviceModelPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthDeviceModelPerformance for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDeviceModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics appHealth Model Performance diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs index 9c0b4b8a414..394e68b8cd7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs index aa4f8dde030..e4f7b826554 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/Item/UserExperienceAnalyticsAppHealthDevicePerformanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth Device Performance @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthDevicePerformance in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthDevicePerformance for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs index f8bd17efbd0..e4169546a6f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformance/UserExperienceAnalyticsAppHealthDevicePerformanceRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthDevicePerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthDevicePerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthDevicePerformance for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics appHealth Device Performance diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs index 5620803ca5b..bcf63b55070 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs index bab2417778f..16a5d37a425 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/Item/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics device performance details @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthDevicePerformanceDetails in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthDevicePerformanceDetails for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs index 0788599ae79..b8218ffe8a9 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthDevicePerformanceDetails/UserExperienceAnalyticsAppHealthDevicePerformanceDetailsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthDevicePerformanceDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthDevicePerformanceDetails for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthDevicePerformanceDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics device performance details diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs index 0d69b228299..d067c650b3a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs index bf9327d4aed..cf75ea1ec84 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/Item/UserExperienceAnalyticsAppHealthOSVersionPerformanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth OS version Performance @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthOSVersionPerformance in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthOSVersionPerformance for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs index 52911f2fa9f..89c00735b62 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOSVersionPerformance/UserExperienceAnalyticsAppHealthOSVersionPerformanceRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsAppHealthOSVersionPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsAppHealthOSVersionPerformance for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsAppHealthOSVersionPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics appHealth OS version Performance diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs index 6d6251d38a0..7db09240370 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs index 17edcfcae07..d3f161449a6 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The metric values for the user experience analytics category. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property metricValues in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(UserExperienceAnalyt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property metricValues for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs index 9804b121362..c27ec031149 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/MetricValues/MetricValuesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to metricValues for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UserExperienceAnalyti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The metric values for the user experience analytics category. Read-only. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs index 21706cb351f..e30720b9839 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsAppHealthOverview/UserExperienceAnalyticsAppHealthOverviewRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// User experience analytics appHealth overview @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsAppHealthOverview in deviceManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(UserExperienceAnal {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsAppHealthOverview for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs index b5f82451991..4c3f3f4c7f5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs index bc459b436ba..60b6053db50 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/AppHealthMetrics/AppHealthMetricsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The scores and insights for the application health metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs index 2f4b25625e7..1a354716ea2 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BatteryHealthMetrics/BatteryHealthMetricsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The scores and insights for the battery health metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs index c9eb5a13630..e3f5ccc429a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/BestPracticesMetrics/BestPracticesMetricsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The scores and insights for the best practices metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs index f0e4146911e..7cfbc1d4766 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/DeviceBootPerformanceMetrics/DeviceBootPerformanceMetricsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The scores and insights for the device boot performance metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs index 2463cdaead8..e6eb45d143e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/RebootAnalyticsMetrics/RebootAnalyticsMetricsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The scores and insights for the reboot analytics metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs index 2aa157b5753..de6799c4b12 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/ResourcePerformanceMetrics/ResourcePerformanceMetricsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The scores and insights for the resource performance metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs index 9f84c612931..8f6cbba5563 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/UserExperienceAnalyticsBaselineItemRequestBuilder.cs @@ -80,7 +80,7 @@ public async Task DeleteAsync(Action /// User experience analytics baselines @@ -99,7 +99,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsBaselines in deviceManagement @@ -120,7 +120,7 @@ public async Task PatchAsync(UserExperienceAnal {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsBaselines for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs index a396f158bb6..7e1a5c98334 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/Item/WorkFromAnywhereMetrics/WorkFromAnywhereMetricsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The scores and insights for the work from anywhere metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs index 84741c992b8..370e0348357 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsBaselines/UserExperienceAnalyticsBaselinesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsBaselineCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsBaselineCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsBaselines for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UserExperienceAnaly {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsBaseline.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics baselines diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs index abecc68210c..db76f81c299 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs index f0d8b29932a..39c869eb6b5 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs index 2e674cfdfc1..63885940b78 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/Item/UserExperienceAnalyticsMetricItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The metric values for the user experience analytics category. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property metricValues in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(UserExperienceAnalyt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property metricValues for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs index 4cc9679c9a9..21d8c730a27 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/MetricValues/MetricValuesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to metricValues for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UserExperienceAnalyti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The metric values for the user experience analytics category. Read-only. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs index 2f4e471136b..38e0e9a18e3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/Item/UserExperienceAnalyticsCategoryItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// User experience analytics categories @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsCategories in deviceManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(UserExperienceAnal {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsCategories for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs index b77d6041fd5..e13d9aa2673 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsCategories/UserExperienceAnalyticsCategoriesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsCategories for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UserExperienceAnaly {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics categories diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs index 58e4066ef4b..de3141ef055 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs index acc420061ba..dfb65945938 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/Item/UserExperienceAnalyticsDevicePerformanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics device performance @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsDevicePerformance in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsDevicePerformance for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs index 29fc5c17a60..704a255cae3 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/SummarizeDevicePerformanceDevicesWithSummarizeBy/SummarizeDevicePerformanceDevicesWithSummarizeByRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SummarizeDevicePerformanceDevicesWithSummarizeByResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SummarizeDevicePerformanceDevicesWithSummarizeByResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summarizeDevicePerformanceDevices diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs index 05ff5529af8..df52470dc40 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDevicePerformance/UserExperienceAnalyticsDevicePerformanceRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task Ge {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDevicePerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDevicePerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsDevicePerformance for deviceManagement @@ -80,7 +80,7 @@ public async Task Ge {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDevicePerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summarizeDevicePerformanceDevices method. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs index 3095483b806..ae4fe5d900a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs index 6a97cd1aafc..fc1c6fd5472 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/Item/UserExperienceAnalyticsDeviceScoresItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics device scores @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsDeviceScores in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsDeviceScores for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs index 2c4fc1e9405..a2bc6a71436 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceScores/UserExperienceAnalyticsDeviceScoresRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceScoresCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceScoresCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsDeviceScores for deviceManagement @@ -79,7 +79,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics device scores diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs index 3a3773b5482..0300d5a7511 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs index 7d42e756099..7603b06272d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/Item/UserExperienceAnalyticsDeviceStartupHistoryItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics device Startup History @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsDeviceStartupHistory in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsDeviceStartupHistory for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs index 0dc57d5a087..3e1a1027203 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupHistory/UserExperienceAnalyticsDeviceStartupHistoryRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupHistoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupHistoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsDeviceStartupHistory for deviceManagement @@ -79,7 +79,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics device Startup History diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..c0ccfa6b49e --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Count/CountRequestBuilder.cs @@ -0,0 +1,126 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Count { + /// + /// Provides operations to count the resources in the collection. + /// + public class CountRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new CountRequestBuilder 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}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/$count{?%24search,%24filter}", pathParameters) { + } + /// + /// Instantiates a new CountRequestBuilder 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}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/$count{?%24search,%24filter}", rawUrl) { + } + /// + /// Get the number of the resource + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "text/plain"); + if (requestConfiguration != null) { + var requestConfig = new CountRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public CountRequestBuilder WithUrl(string rawUrl) { + return new CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + public 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. + /// + public class CountRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public CountRequestBuilderGetQueryParameters QueryParameters { get; set; } = new CountRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new CountRequestBuilderGetRequestConfiguration and sets the default values. + /// + public CountRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs new file mode 100644 index 00000000000..854266e965e --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/Item/UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder.cs @@ -0,0 +1,251 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Item { + /// + /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/{userExperienceAnalyticsDeviceStartupProcessPerformance%2Did}{?%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance/{userExperienceAnalyticsDeviceStartupProcessPerformance%2Did}{?%24select,%24expand}", rawUrl) { + } + /// + /// Delete navigation property userExperienceAnalyticsDeviceStartupProcessPerformance for deviceManagement + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// User experience analytics device Startup Process Performance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Update the navigation property userExperienceAnalyticsDeviceStartupProcessPerformance in deviceManagement + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PatchAsync(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PatchAsync(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Delete navigation property userExperienceAnalyticsDeviceStartupProcessPerformance for deviceManagement + /// + /// 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 { + HttpMethod = Method.DELETE, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + if (requestConfiguration != null) { + var requestConfig = new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderDeleteRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// User experience analytics device Startup Process Performance + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Update the navigation property userExperienceAnalyticsDeviceStartupProcessPerformance in deviceManagement + /// + /// 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(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.PATCH, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + if (requestConfiguration != null) { + var requestConfig = new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderPatchRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder WithUrl(string rawUrl) { + return new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderDeleteRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderDeleteRequestConfiguration and sets the default values. + /// + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderDeleteRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// User experience analytics device Startup Process Performance + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetQueryParameters { + /// 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. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetQueryParameters QueryParameters { get; set; } = new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetRequestConfiguration and sets the default values. + /// + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderPatchRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderPatchRequestConfiguration and sets the default values. + /// + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilderPatchRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs new file mode 100644 index 00000000000..f4255b28f04 --- /dev/null +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcessPerformance/UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder.cs @@ -0,0 +1,244 @@ +// +using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Count; +using Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance.Item; +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.DeviceManagement.UserExperienceAnalyticsDeviceStartupProcessPerformance { + /// + /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder : BaseRequestBuilder { + /// Provides operations to count the resources in the collection. + public CountRequestBuilder Count { get => + new CountRequestBuilder(PathParameters, RequestAdapter); + } + /// Provides operations to manage the userExperienceAnalyticsDeviceStartupProcessPerformance property of the microsoft.graph.deviceManagement entity. + /// The unique identifier of userExperienceAnalyticsDeviceStartupProcessPerformance + public UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder this[string position] { get { + var urlTplParams = new Dictionary(PathParameters); + urlTplParams.Add("userExperienceAnalyticsDeviceStartupProcessPerformance%2Did", position); + return new UserExperienceAnalyticsDeviceStartupProcessPerformanceItemRequestBuilder(urlTplParams, RequestAdapter); + } } + /// + /// Instantiates a new UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters) { + } + /// + /// Instantiates a new UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/deviceManagement/userExperienceAnalyticsDeviceStartupProcessPerformance{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { + } + /// + /// User experience analytics device Startup Process Performance + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Create new navigation property to userExperienceAnalyticsDeviceStartupProcessPerformance for deviceManagement + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task PostAsync(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task PostAsync(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// User experience analytics device Startup Process Performance + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "application/json"); + if (requestConfiguration != null) { + var requestConfig = new UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Create new navigation property to userExperienceAnalyticsDeviceStartupProcessPerformance for deviceManagement + /// + /// 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(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.POST, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + if (requestConfiguration != null) { + var requestConfig = new UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderPostRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder WithUrl(string rawUrl) { + return new UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// User experience analytics device Startup Process Performance + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderGetQueryParameters { + /// 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. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderGetQueryParameters QueryParameters { get; set; } = new UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new userExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderGetRequestConfiguration and sets the default values. + /// + public UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderPostRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new userExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderPostRequestConfiguration and sets the default values. + /// + public UserExperienceAnalyticsDeviceStartupProcessPerformanceRequestBuilderPostRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs index 35135a2b611..350aab9497f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs index 4ed1ee57c5a..1c4c0acc413 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/Item/UserExperienceAnalyticsDeviceStartupProcessItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics device Startup Processes @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsDeviceStartupProcesses in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(UserEx {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsDeviceStartupProcesses for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs index 89641fe88c8..9d330a9ae79 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsDeviceStartupProcesses/UserExperienceAnalyticsDeviceStartupProcessesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcessCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcessCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsDeviceStartupProcesses for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UserExp {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics device Startup Processes diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs index 491a304b5a4..a48b58ab162 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs index 3ba84d5c638..10cdc608f50 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/Item/UserExperienceAnalyticsMetricHistoryItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics metric history @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsMetricHistory in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsMetricHistory for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs index e40c4423ced..f017ecb9d92 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsMetricHistory/UserExperienceAnalyticsMetricHistoryRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetricHistoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsMetricHistoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsMetricHistory for deviceManagement @@ -79,7 +79,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics metric history diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs index 1ff09d3b0f9..9cedccc5988 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs index aed2bdfe25c..05b9058b079 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/Item/UserExperienceAnalyticsModelScoresItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics model scores @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsModelScores in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsModelScores for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs index cb592a81d74..53ff20a0acb 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsModelScores/UserExperienceAnalyticsModelScoresRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsModelScoresCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsModelScoresCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsModelScores for deviceManagement @@ -79,7 +79,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics model scores diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs index 981202ce11f..f18a8fd6ef1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsOverview/UserExperienceAnalyticsOverviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics overview @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsOverview in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsOverview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsOverview for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs index 9663b9b8d6d..f0e843beba8 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs index d8decba1339..ce013065267 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/Item/UserExperienceAnalyticsScoreHistoryItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics device Startup Score History @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsScoreHistory in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsScoreHistory for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs index facf625163a..d4817705a51 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsScoreHistory/UserExperienceAnalyticsScoreHistoryRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsScoreHistoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsScoreHistoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsScoreHistory for deviceManagement @@ -79,7 +79,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsScoreHistory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics device Startup Score History diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs index 4d860c98f73..b7d25bc4f72 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevices/UserExperienceAnalyticsSummarizeWorkFromAnywhereDevicesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevicesSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function userExperienceAnalyticsSummarizeWorkFromAnywhereDevices diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs index de312e78ac7..e9daf97a527 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric/UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetricRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User experience analytics work from anywhere hardware readiness metrics. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsWorkFromAnywhereHardwareReadinessMetric for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs index 589a6b69f35..7d7c9a19103 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs index e34d099f241..10d09e8ede4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs index ff374b94992..e8b5e057af0 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/Item/UserExperienceAnalyticsWorkFromAnywhereDeviceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The work from anywhere metric devices. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property metricDevices in deviceManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(User {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property metricDevices for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs index b180af4edc9..4d4a28bb9ec 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/MetricDevices/MetricDevicesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to metricDevices for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UserE {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The work from anywhere metric devices. Read-only. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs index c5a5f83800b..d00ca9aad94 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/Item/UserExperienceAnalyticsWorkFromAnywhereMetricItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// User experience analytics work from anywhere metrics. @@ -69,7 +69,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsWorkFromAnywhereMetrics in deviceManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(User {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsWorkFromAnywhereMetrics for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs index 764090dc750..1f33583cdd4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereMetrics/UserExperienceAnalyticsWorkFromAnywhereMetricsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsWorkFromAnywhereMetrics for deviceManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UserE {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereMetric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// User experience analytics work from anywhere metrics. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs index 12e236e0cb9..6d4b8ba303d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs index 10be44f3716..dfff5b0cbe4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/Item/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The user experience analytics work from anywhere model performance @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userExperienceAnalyticsWorkFromAnywhereModelPerformance in deviceManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userExperienceAnalyticsWorkFromAnywhereModelPerformance for deviceManagement diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs index ea8a1142564..98ac02aaf7f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/UserExperienceAnalyticsWorkFromAnywhereModelPerformance/UserExperienceAnalyticsWorkFromAnywhereModelPerformanceRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task(requestInfo, UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserExperienceAnalyticsWorkFromAnywhereModelPerformanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userExperienceAnalyticsWorkFromAnywhereModelPerformance for deviceManagement @@ -79,7 +79,7 @@ public async Task(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserExperienceAnalyticsWorkFromAnywhereModelPerformance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user experience analytics work from anywhere model performance diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs index d1fce4eb9c4..d86b6d2167d 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/VerifyWindowsEnrollmentAutoDiscoveryWithDomainName/VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task Ge {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VerifyWindowsEnrollmentAutoDiscoveryWithDomainNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function verifyWindowsEnrollmentAutoDiscovery diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs index 04ea3dfb5e8..8ecb2238531 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs index 29e92304bb2..7b1c3edc134 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/AssignUserToDevice/AssignUserToDeviceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssignUserToDevicePostRequestBody body, Action /// Assigns user to Autopilot devices. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs index 444e901ae7e..e5ae783e80e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UnassignUserFromDevice/UnassignUserFromDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unassigns the user from an Autopilot device. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs index baf86657032..815370ad5ec 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/UpdateDeviceProperties/UpdateDevicePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpdateDevicePropertiesPostRequestBody body, Action /// Updates properties on Autopilot devices. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs index 39d33b363f5..d87296813a1 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/Item/WindowsAutopilotDeviceIdentityItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsAutopilotDeviceIdentity object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property windowsAutopilotDeviceIdentities in deviceManagement @@ -102,7 +102,7 @@ public async Task PatchAsync(WindowsAutopilotDev {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsAutopilotDeviceIdentity. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs index c8b6ecd119c..962959a3b6e 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsAutopilotDeviceIdentities/WindowsAutopilotDeviceIdentitiesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsAutopilotDeviceIdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsAutopilotDeviceIdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsAutopilotDeviceIdentity object. @@ -81,7 +81,7 @@ public async Task PostAsync(WindowsAutopilotDevi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsAutopilotDeviceIdentity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsAutopilotDeviceIdentity objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs index d418f2e4913..b0291e67878 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs index 110c426f756..7c4d8f67b1a 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/Item/WindowsInformationProtectionAppLearningSummaryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsInformationProtectionAppLearningSummary object. @@ -66,7 +66,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsInformationProtectionAppLearningSummary object. @@ -88,7 +88,7 @@ public async Task PatchAsync(Win {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsInformationProtectionAppLearningSummary. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs index 88fdd0498e5..4ccbb9e9c8c 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionAppLearningSummaries/WindowsInformationProtectionAppLearningSummariesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task(requestInfo, WindowsInformationProtectionAppLearningSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLearningSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsInformationProtectionAppLearningSummary object. @@ -81,7 +81,7 @@ public async Task PostAsync(Wind {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionAppLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsInformationProtectionAppLearningSummary objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs index 5f11a7ae4fb..c7f2cef4051 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs index e7cad574384..59e16c21af7 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/Item/WindowsInformationProtectionNetworkLearningSummaryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsInformationProtectionNetworkLearningSummary object. @@ -66,7 +66,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsInformationProtectionNetworkLearningSummary object. @@ -88,7 +88,7 @@ public async Task PatchAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsInformationProtectionNetworkLearningSummary. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs index 21a0f26cf80..f337c651d95 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsInformationProtectionNetworkLearningSummaries/WindowsInformationProtectionNetworkLearningSummariesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task(requestInfo, WindowsInformationProtectionNetworkLearningSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionNetworkLearningSummaryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsInformationProtectionNetworkLearningSummary object. @@ -81,7 +81,7 @@ public async Task PostAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsInformationProtectionNetworkLearningSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsInformationProtectionNetworkLearningSummary objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs index c581d787deb..ee619ab56b4 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs index e76b8890007..b01264a19ed 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs index 1d45c05b6be..f314e0f384f 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/DeviceMalwareStatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MalwareStateForWindowsDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MalwareStateForWindowsDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new malwareStateForWindowsDevice object. @@ -81,7 +81,7 @@ public async Task PostAsync(MalwareStateForWindows {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MalwareStateForWindowsDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MalwareStateForWindowsDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the malwareStateForWindowsDevice objects. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs index c40f0f599d1..db2fa9e0743 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/DeviceMalwareStates/Item/MalwareStateForWindowsDeviceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the malwareStateForWindowsDevice object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MalwareStateForWindowsDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MalwareStateForWindowsDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a malwareStateForWindowsDevice object. @@ -88,7 +88,7 @@ public async Task PatchAsync(MalwareStateForWindow {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MalwareStateForWindowsDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MalwareStateForWindowsDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a malwareStateForWindowsDevice. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs index 6d3855b2f7c..657362cfc28 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/Item/WindowsMalwareInformationItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsMalwareInformation object. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsMalwareInformation object. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsMalwareInformation. diff --git a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs index 4bcd48abb88..ea2e6079223 100644 --- a/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DeviceManagement/WindowsMalwareInformation/WindowsMalwareInformationRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WindowsMalwareInformationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsMalwareInformationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsMalwareInformation object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsMalwareInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsMalwareInformation objects. diff --git a/src/Microsoft.Graph/Generated/Devices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Count/CountRequestBuilder.cs index a5c0d356e2d..8741cda219f 100644 --- a/src/Microsoft.Graph/Generated/Devices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Delta/DeltaRequestBuilder.cs index 79356d17ae2..678d8e5924b 100644 --- a/src/Microsoft.Graph/Generated/Devices/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs index c971631507e..bbdf09562e5 100644 --- a/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/DevicesRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create and register a new device in the organization. @@ -101,7 +101,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of device objects registered in the organization. diff --git a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 8446fe85f69..a18f1029ec4 100644 --- a/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Devices/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/GetByIds/GetByIdsRequestBuilder.cs index 0182559e3c1..bd9d7df0e85 100644 --- a/src/Microsoft.Graph/Generated/Devices/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 78d47253cf8..e7bc0ad845a 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 881fedbd3c5..01dc2fa9bb6 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs index 6976a8128da..9c36bf906cd 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/DeviceItemRequestBuilder.cs @@ -96,7 +96,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a device object. @@ -116,7 +116,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. @@ -138,7 +138,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a registered device. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs index 94954229f50..8cd3015a8c9 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs index 236a6be9546..db397fab129 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for devices @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the device. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a178eea7123..838a5ea13c5 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the device. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in devices @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for devices diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index fb3ca221554..7e31b6706a0 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index ae766e19092..48ec5d1dea9 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs index ed9a89790d8..27d5a45ffca 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 7a98bf8e1e0..f64512aa30f 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index b9a5dd61354..ed6ebdee12c 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index 7dc55d2bcb3..370ef4e6bb9 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index a285415c05e..ddf769b6a65 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index fc4d463cb65..524ded5b4c8 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index e205c2441f9..fc8fadf47cc 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index ce11ca488fa..503cdab4020 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs index 042dd4b7c40..c0df9cdb9a6 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/MemberOf/MemberOfRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups and administrative units that this device is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs index 32417c2ae6a..7c553425691 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index f3e5bb23925..93a2f5d0b0f 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index cb129bb688a..e48f854be07 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs index 86641681a96..a3d84208545 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs index 2de3cc26fc9..19e0a55b0b1 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs index f38fbb150b6..4d6256d4217 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 17240507013..5401dfa65dc 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs index 141b8649912..d4ca7dbddf7 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs index efb20e05890..66aca3be549 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index af35b8a0fc2..ec0c82177a6 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index bcd9accb3c6..f5f20245fe2 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index e9ff7b8ae1a..cc5bcc5ec36 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs index 88a11c24c38..7cb14835233 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs index 87c43bef57b..aff5b669a2a 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a user as a registered owner of the device. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs index d2dcd1d1736..d6ebcf7e828 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a user as a registered owner of the device. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs index 3da97b52b0c..9c8b9ab6754 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredOwners/RegisteredOwnersRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user that cloud joined the device or registered their personal device. The registered owner is set at the time of registration. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs index f77751ba512..95fe07b1393 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 6d222e00ef9..fbed1b5fc1c 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index da5602d760c..17d2d27c751 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs index e330713db7f..a9d3cd5b04a 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs index eaedfe8e0d3..fd22bd0d6e6 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs index 2e9005d6fce..3e142207836 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index d17506c8fa3..79b26bf0e73 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs index 627063154b9..5f793c8e671 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs index 86027241ac4..342a59af967 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index db6e1f71ea9..7a2ae8259b5 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index c51f4bc272d..aa5f5e1b451 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index f5a7034ca51..c5bf6ace9a5 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs index c8ac4e575da..22e9e1cdb32 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs index c13c5906cfb..b55babef041 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a user as a registered user of the device. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs index 57ac8eba0f5..7cfa3f9ac7d 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a registered user for the device. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs index 054b467d4e4..cd231f2b31b 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/RegisteredUsers/RegisteredUsersRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Collection of registered users of the device. For cloud joined devices and registered personal devices, registered users are set to the same value as registered owners at the time of registration. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs index f3cbbf926af..27ec3f017d3 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index 1788a163672..e88b38e7d08 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index b54701a9c09..408774f90e0 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 38fa5f620a4..1b707de5479 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index 847047ef624..bda26c07560 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index 926ad62ce26..588fa3f7aca 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 7caadaf7cbd..bd145227a9d 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index fa6eec566c3..44abf57cb76 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index b0ead064d07..f9e3496dcff 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index a34329b1977..c1a012ca498 100644 --- a/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups and administrative units that the device is a member of. This operation is transitive. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 1392b8b1734..9a84002338e 100644 --- a/src/Microsoft.Graph/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Devices/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs index 3ce306da5e1..bb749ad9e66 100644 --- a/src/Microsoft.Graph/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DevicesWithDeviceId/DevicesWithDeviceIdRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a device object. @@ -68,7 +68,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a registered device. Only certain properties of a device can be updated through approved Mobile Device Managment (MDM) apps. @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a registered device. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs index 60cccd9fa69..5a41f97a9a6 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/AdministrativeUnitsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new administrativeUnit. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of administrativeUnit objects. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs index 76b9fe5ee05..10a97d2bb3d 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs index 174f17bea5a..be689b602ef 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs index 08a615a7cbb..c0f0fb44df6 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/AdministrativeUnitItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an administrativeUnit object. @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an administrativeUnit object. @@ -103,7 +103,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an administrativeUnit. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs index 55970f8dc07..f919ef957e4 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs index eaa2fa19739..6bec269330d 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for directory @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for this administrative unit. Nullable. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 76c7fef5aa3..0c0aa7bfab5 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for this administrative unit. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in directory @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for directory diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs index d9274253044..ae91b3c8c30 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs index bcdf12b75f9..7fae1a23af6 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs index c764c7c90dd..073f3eeede7 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs index 27d7dc6826d..1242c448fa3 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs index 40e19b2efb1..ca0b6688536 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs index c0a749d42c1..189471d1261 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs index 3254565c214..315e968e9fd 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs index 4ff7184f0dc..cf25200f708 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 5e47f4c2292..2e657e1400f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs index 0bf7cf03e49..a26b12e5632 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 223361222b9..a55c802f20c 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs index 94392147461..c953d62d5aa 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs index d9f98e419e8..c043c078aff 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 682213e2291..cf8b585fdc1 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 72481628102..a6e808043b8 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs index d28018f12da..2749ed9c73a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 6c1c809060f..60f419a3269 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index a9f529c03a1..8403a977c8b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs index 8fe07e86d55..11f34012232 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs index 4b77a58d92e..9161197e40f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Use this API to remove a member (user, group, or device) from an administrative unit. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs index b5d6df45192..a8fd4a960b8 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/MembersRequestBuilder.cs @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to members for directory @@ -116,7 +116,7 @@ public async Task PostAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Users and groups that are members of this administrative unit. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs index 433b3323272..bf86e4e1ac2 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/Members/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property ref to members for directory @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Users and groups that are members of this administrative unit. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs index e0fb4f5648c..806e5ec6be9 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs index 6795c37dca6..14c42895dba 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get an Azure Active Directory (Azure AD) role assignment with administrative unit scope. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopedRoleMembers in directory @@ -87,7 +87,7 @@ public async Task PatchAsync(ScopedRoleMembership body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an Azure Active Directory (Azure AD) role assignment with administrative unit scope. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs index c764e8fb7e8..3bb575350be 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AdministrativeUnits/Item/ScopedRoleMembers/ScopedRoleMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign an Azure Active Directory (Azure AD) role with administrative unit scope. For a list of roles that can be assigned with administrative unit scope, see Assign Azure AD roles with administrative unit scope. @@ -81,7 +81,7 @@ public async Task PostAsync(ScopedRoleMembership body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List Azure Active Directory (Azure AD) role assignments with administrative unit scope. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs index 93d672fe593..a866274f9bc 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/AttributeSetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AttributeSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new attributeSet object. @@ -81,7 +81,7 @@ public async Task PostAsync(AttributeSet body, Action(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the attributeSet objects and their properties. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs index f951b948e14..da8e52cdd97 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs index 16332061184..6d71919c6be 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/AttributeSets/Item/AttributeSetItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an attributeSet object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an attributeSet object. @@ -87,7 +87,7 @@ public async Task PatchAsync(AttributeSet body, Action(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attributeSets for directory diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs index e49f9ac77cc..d9309dfc96b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs index d43318795ee..757a6e246c0 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/CustomSecurityAttributeDefinitionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new customSecurityAttributeDefinition object. @@ -81,7 +81,7 @@ public async Task PostAsync(CustomSecurityAtt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the customSecurityAttributeDefinition objects and their properties. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs index 1a60a48a319..436b1a7179b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/AllowedValuesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AllowedValueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedValueCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new allowedValue object. @@ -81,7 +81,7 @@ public async Task PostAsync(AllowedValue body, Action(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the allowedValue objects and their properties. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs index 6438841d390..d306d2e17b1 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs index 2d620565a50..a1bd1fb1503 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/AllowedValues/Item/AllowedValueItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an allowedValue object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an allowedValue object. @@ -87,7 +87,7 @@ public async Task PatchAsync(AllowedValue body, Action(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedValue.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property allowedValues for directory diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs index 809a758c731..d1065ce8cb3 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/CustomSecurityAttributeDefinitions/Item/CustomSecurityAttributeDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a customSecurityAttributeDefinition object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a customSecurityAttributeDefinition object. @@ -92,7 +92,7 @@ public async Task PatchAsync(CustomSecurityAt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomSecurityAttributeDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property customSecurityAttributeDefinitions for directory diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs index 6d1a89cbca3..fbf90938d60 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs index ea3ec2ce85f..598e3976ae2 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/DeletedItemsRequestBuilder.cs @@ -108,7 +108,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deletedItems for directory @@ -129,7 +129,7 @@ public async Task PostAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Delta/DeltaRequestBuilder.cs index 79f45b078f3..bb1b7683dc8 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index cdd9abb99bc..40af4f1ac16 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs index 11e86c2ebe8..a96528fd3f7 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 5239d559d62..b7a80d56b9a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 11d31955b5c..0b1bc7d84cc 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs index ed5ccd69c1e..34822bd6f97 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs index 6a778806f8d..c8b3213d768 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs index 8e31ca15d1a..b53505d8227 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs index 59db350325b..cb77f7f9e89 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs index 9f7d8ee0ee4..6eafcc60999 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs index eb1bd1e7621..1a097e3e4ac 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs index f2149960a8d..d7f820f09d0 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index fea2a6a03e7..3e77a4d8a0d 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs index be09a8dbb41..5a83d436bcb 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs index cda1a3f96ee..897cf885eca 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 8fc1e04a987..ec82a7ea800 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 5502067248d..faaa215856f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs index e5fedf6bc32..da7d2b99348 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/DirectoryObjectItemRequestBuilder.cs @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. @@ -121,7 +121,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deletedItems in directory @@ -142,7 +142,7 @@ public async Task PatchAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Permanently delete a recently deleted application, group, servicePrincipal, or user object from deleted items. After an item is permanently deleted, it cannot be restored. Administrative units cannot be permanently deleted by using the deletedItems API. Soft-deleted administrative units will be permanently deleted 30 days after initial deletion unless they are restored. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 628eb12ecd5..cf89a602f26 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index e4355210799..601f79e5971 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index d55f1f04a3f..9d64ec8f3a7 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 3192fb842a6..f9ef9d40d70 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs index a7b359254f9..57a4afc0099 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs index d6b1fa438a2..7c94c7d7bef 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 25bd6e903bb..8282ddeec4a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs index e3a6cbc935e..93f0b15b405 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs index 75f6c890419..1210eb5c866 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 4351cfd62f2..c670cb19833 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DeletedItems/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs index a6ac84f2125..6afbbe2a9a5 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject1.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject1.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update directory @@ -96,7 +96,7 @@ public async Task PatchAsync(DirectoryObject1 body, Action(requestInfo, DirectoryObject1.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject1.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get directory diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs index 9c3c25a394d..43b8aca001b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, AvailableProviderTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AvailableProviderTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function availableProviderTypes diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs index 6ca17e0f543..ffd8a8d6020 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs index 97f8b7900ec..eef9a3f0578 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/FederationConfigurationsRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProviderBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to federationConfigurations for directory @@ -84,7 +84,7 @@ public async Task PostAsync(IdentityProviderBase body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs index 4d35aab26e3..71901c9469a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/FederationConfigurations/Item/IdentityProviderBaseItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Configure domain federation with organizations whose identity provider (IdP) supports either the SAML or WS-Fed protocol. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property federationConfigurations in directory @@ -86,7 +86,7 @@ public async Task PatchAsync(IdentityProviderBase body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a samlOrWsFedExternalDomainFederation object. diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs index d889c1676ea..00103335789 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs index 9d20a685b10..0bd979e9954 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/Item/OnPremisesDirectorySynchronizationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an onPremisesDirectorySynchronization object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an onPremisesDirectorySynchronization object. @@ -87,7 +87,7 @@ public async Task PatchAsync(OnPremisesDirec {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property onPremisesSynchronization for directory diff --git a/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs index f17fd1b173e..97bdeab54ce 100644 --- a/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryNamespace/OnPremisesSynchronization/OnPremisesSynchronizationRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnPremisesDirectorySynchronizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnPremisesDirectorySynchronizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to onPremisesSynchronization for directory @@ -79,7 +79,7 @@ public async Task PostAsync(OnPremisesDirect {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnPremisesDirectorySynchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of an onPremisesDirectorySynchronization object. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Count/CountRequestBuilder.cs index 02c7bf4b359..9b2c30b53af 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs index fa6f1131fbf..d29d0e48fed 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs index d3062a7242d..f358956f456 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/DirectoryObjectsRequestBuilder.cs @@ -78,7 +78,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to directoryObjects @@ -99,7 +99,7 @@ public async Task PostAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from directoryObjects diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 4add8049846..609ee86c5a9 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs index ff7f0f8b2bf..9e197e692bc 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index a7db2b3aefc..61ddd77979f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 0a7e1341da6..ac031b4b716 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs index e8e50fe8efc..c95c51fa93e 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a directoryObject object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in directoryObjects @@ -112,7 +112,7 @@ public async Task PatchAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a directory object, for example, a group, user, application, or service principal. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 25cb7c73487..91c0cee3b60 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 5749fe6941b..222a355b721 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs index 2e95ac1e09f..35fdaf82215 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 62d7c82e816..123722aaa64 100644 --- a/src/Microsoft.Graph/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryObjects/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs index 539c8ef6026..40fcbc1af34 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs index f2deecac4bb..d5f09f5b629 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs index 7a3f4dc64a2..2d49a888ecc 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/DirectoryRoleTemplatesRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to directoryRoleTemplates @@ -100,7 +100,7 @@ public async Task PostAsync(DirectoryRoleTemplate body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of directoryRoleTemplate objects. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 2d5002f4ca3..9674ee61eb4 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs index a8e8d727f18..bfec715a425 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 0a9998a3d6c..6f3866cebfd 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index c4c5b6fb88e..622f317bf6f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs index 2d381125cfd..fe95dead4a0 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/DirectoryRoleTemplateItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a directoryroletemplate object. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in directoryRoleTemplates @@ -111,7 +111,7 @@ public async Task PatchAsync(DirectoryRoleTemplate body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from directoryRoleTemplates diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index db7d2a0761b..de2936dcd69 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index ddb4ca931e1..028e963d217 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs index 59d3fa5229f..1da8baadd48 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 26214975abb..6e20f337ebe 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoleTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Count/CountRequestBuilder.cs index fb7a76771fc..61be3f3d03f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs index 0819913bdcd..87ba3e9b1b6 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs index 5219ed739af..e834d3b6699 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/DirectoryRolesRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (User, Guest User, and Restricted Guest User roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID. @@ -101,7 +101,7 @@ public async Task PostAsync(DirectoryRole body, Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Azure portal, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Azure AD, use List directoryRoleTemplates. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 06b7ed445e7..3e0f213cca8 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs index 122d3242ba0..940146baaa8 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index ae3b6162ad3..2348223f284 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index adc51eb7afd..f854b8c3b66 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs index dfce051ae91..5f09bf7a21f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/DirectoryRoleItemRequestBuilder.cs @@ -80,7 +80,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Azure portal. For details, see Role template IDs. @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in directoryRoles @@ -121,7 +121,7 @@ public async Task PatchAsync(DirectoryRole body, Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from directoryRoles diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 509fc73028d..78b4d8b48d3 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index d1498463ef6..bc009f2ed40 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs index 8291456bd9c..561d886b05b 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs index 9f99931512c..a3d30916787 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs index 2e599490bc7..77f947f3198 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs index 7d95ad41fab..770e94c3db1 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs index a268ebfd523..933bbc1e9dd 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs index 5f82aae75c0..453097df39c 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs index 4abfdf7f114..5bc62f9949c 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs index f0e8686ba53..d76d80e01b7 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 062cfc57881..391df335638 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs index 09be0730af9..71ac2d23749 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index a9184b6253e..4180722e0ba 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs index 022207fce6c..8b4b03ecec0 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs index 4c6decc81a1..f30e010cab6 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 2c26a4bfe22..c46a054a906 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 9e471786578..97358492c0a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs index 98e003f1992..5a8590311e7 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index a4a08965fac..49b716457ce 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index cdd024507fd..122d7e1e3ea 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs index d126f7dd984..0573e753644 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs index c35e1644247..e750d546e0a 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a member from a directoryRole. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Azure portal. For details, see Role template IDs. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs index 4ae1ff15906..408ed112b26 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/MembersRequestBuilder.cs @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs index 781e78e8d71..72fcf6bc70f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Members/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new directory role member. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Azure portal. For details, see Role template IDs. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Users that are members of this directory role. HTTP Methods: GET, POST, DELETE. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs index a6b730bb0b6..67785f8235e 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs index fa5457bcde2..bd596907dab 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs index d5b8a8976d9..bea6eede15e 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/Item/ScopedRoleMembershipItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Members of this directory role that are scoped to administrative units. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopedMembers in directoryRoles @@ -85,7 +85,7 @@ public async Task PatchAsync(ScopedRoleMembership body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopedMembers for directoryRoles diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs index 761104937f0..97cfcdfba0f 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/Item/ScopedMembers/ScopedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopedMembers for directoryRoles @@ -80,7 +80,7 @@ public async Task PostAsync(ScopedRoleMembership body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of scopedRoleMembership objects for a directory role. diff --git a/src/Microsoft.Graph/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 41f71b45461..7a1e1c2a4b1 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRoles/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs index fa9bf192360..ae75f6f4a21 100644 --- a/src/Microsoft.Graph/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DirectoryRolesWithRoleTemplateId/DirectoryRolesWithRoleTemplateIdRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Azure portal. For details, see Role template IDs. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in directoryRoles by roleTemplateId @@ -88,7 +88,7 @@ public async Task PatchAsync(DirectoryRole body, Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from directoryRoles by roleTemplateId diff --git a/src/Microsoft.Graph/Generated/DomainDnsRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/DomainDnsRecords/Count/CountRequestBuilder.cs index da5774f6825..dcece831e4d 100644 --- a/src/Microsoft.Graph/Generated/DomainDnsRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DomainDnsRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs index 4b4c389f235..1bff2d47d15 100644 --- a/src/Microsoft.Graph/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DomainDnsRecords/DomainDnsRecordsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DomainDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to domainDnsRecords @@ -79,7 +79,7 @@ public async Task PostAsync(DomainDnsRecord body, Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from domainDnsRecords diff --git a/src/Microsoft.Graph/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs index ada4d5be85c..a35f7a9935e 100644 --- a/src/Microsoft.Graph/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/DomainDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from domainDnsRecords by key @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in domainDnsRecords @@ -85,7 +85,7 @@ public async Task PatchAsync(DomainDnsRecord body, Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from domainDnsRecords diff --git a/src/Microsoft.Graph/Generated/Domains/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Count/CountRequestBuilder.cs index 7dd4e0445c5..cce329dda38 100644 --- a/src/Microsoft.Graph/Generated/Domains/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Domains/DomainsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/DomainsRequestBuilder.cs index 7a280b457dc..2d63193e616 100644 --- a/src/Microsoft.Graph/Generated/Domains/DomainsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/DomainsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DomainCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a domain to the tenant. Important: You cannot use an associated domain with your Azure AD tenant until ownership is verified. See List verificationDnsRecords for details. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. @@ -81,7 +81,7 @@ public async Task PostAsync(Domain body, Action(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of domain objects. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs index d56d95dd98c..2c9c53a2b19 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/DomainItemRequestBuilder.cs @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of domain object. @@ -101,7 +101,7 @@ public async Task GetAsync(Action(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of domain object. @@ -123,7 +123,7 @@ public async Task PatchAsync(Domain body, Action(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a domain from a tenant. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs index 5f126a7fadf..abe292c4623 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs index 4fc3bf517b9..d6cd89b1187 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/DomainNameReferencesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of directoryObject with a reference to the domain. The returned list will contain all directory objects that have a dependency on the domain. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs index c9f8e32d78f..5f0afccc0fe 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/DomainNameReferences/Item/DirectoryObjectItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The objects such as users and groups that reference the domain ID. Read-only, Nullable. Supports $expand and $filter by the OData type of objects returned. For example /domains/{domainId}/domainNameReferences/microsoft.graph.user and /domains/{domainId}/domainNameReferences/microsoft.graph.group. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs index ad82b0e3749..943886f43fa 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs index 8c1dd03b23c..3493bc30a51 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/FederationConfigurationRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, InternalDomainFederationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InternalDomainFederationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new internalDomainFederation object. @@ -80,7 +80,7 @@ public async Task PostAsync(InternalDomainFederation b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InternalDomainFederation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InternalDomainFederation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of an internalDomainFederation object. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs index 17e7e7c1931..37362812a51 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/FederationConfiguration/Item/InternalDomainFederationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an internalDomainFederation object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, InternalDomainFederation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InternalDomainFederation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an internalDomainFederation object. @@ -88,7 +88,7 @@ public async Task PatchAsync(InternalDomainFederation {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InternalDomainFederation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InternalDomainFederation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an internalDomainFederation object. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs index fc8aa2801cd..01b1f7a7d12 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/ForceDelete/ForceDeleteRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForceDeletePostRequestBody body, Action /// Deletes a domain using an asynchronous long-running operation. Prior to calling forceDelete, you must update or remove any references to Exchange as the provisioning service. The following actions are performed as part of this operation: After the domain deletion completes, API operations for the deleted domain will return a HTTP 404 status code. To verify deletion of a domain, you can perform a get domain operation. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromoteRequestBuilder.cs index b067a0852b5..7b04292f3af 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromoteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/Promote/PromoteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, PromoteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PromoteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Promote a verified subdomain to the root domain. A verified domain has its isVerified property set to true. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs index 28fd94ab592..e2e44e81c8a 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs index 49f5c457792..d29b2cdb33b 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/Item/DomainDnsRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// DNS records the customer adds to the DNS zone file of the domain before the domain can be used by Microsoft Online services. Read-only, Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property serviceConfigurationRecords in domains @@ -85,7 +85,7 @@ public async Task PatchAsync(DomainDnsRecord body, Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property serviceConfigurationRecords for domains diff --git a/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs index b7db47387e7..f323c127d3b 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/ServiceConfigurationRecords/ServiceConfigurationRecordsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DomainDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to serviceConfigurationRecords for domains @@ -80,7 +80,7 @@ public async Task PostAsync(DomainDnsRecord body, Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieves a list of domainDnsRecord objects needed to enable services for the domain. Use the returned list to add records to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs index 5bed382d3f8..43c2b5e595c 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs index 08dbb7ce895..1e40d0f9772 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/Item/DomainDnsRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// DNS records that the customer adds to the DNS zone file of the domain before the customer can complete domain ownership verification with Azure AD. Read-only, Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property verificationDnsRecords in domains @@ -85,7 +85,7 @@ public async Task PatchAsync(DomainDnsRecord body, Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property verificationDnsRecords for domains diff --git a/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs index 57f55df1cdd..58e2838b543 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/VerificationDnsRecords/VerificationDnsRecordsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DomainDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to verificationDnsRecords for domains @@ -80,7 +80,7 @@ public async Task PostAsync(DomainDnsRecord body, Action(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DomainDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of domainDnsRecord objects. You cannot use an associated domain with your Azure AD tenant until ownership is verified. To verify the ownership of the domain, retrieve the domain verification records and add the details to the zone file of the domain. This can be done through the domain registrar or DNS server configuration. Root domains require verification. For example, contoso.com requires verification. If a root domain is verified, subdomains of the root domain are automatically verified. For example, subdomain.contoso.com is automatically be verified if contoso.com has been verified. diff --git a/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs index af8ba2149c0..23a09baa83f 100644 --- a/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Domains/Item/Verify/VerifyRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Domain.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Validates the ownership of the domain. diff --git a/src/Microsoft.Graph/Generated/Drives/DrivesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/DrivesRequestBuilder.cs index e26a7cd5291..351b807e869 100644 --- a/src/Microsoft.Graph/Generated/Drives/DrivesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/DrivesRequestBuilder.cs @@ -53,7 +53,7 @@ public async Task GetAsync(Action(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to drives @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/BundlesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/BundlesRequestBuilder.cs index dc94814b25b..bd0ca9e7ba0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/BundlesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/BundlesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to bundles for drives @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs index 993d120398c..73235b91d10 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs index be1517f2251..abe44716d09 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs index 93f6f607a54..ed618f6f490 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Bundles/Item/DriveItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 51b5ad4221c..604f490cab9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index ad7d8ebabbf..619c47f3b11 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs index f951cadd06a..a31041abfdf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/DriveItemRequestBuilder.cs @@ -96,7 +96,7 @@ public async Task DeleteAsync(Action /// Get entity from drives by key @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in drives @@ -136,7 +136,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the search method. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Following/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Following/Count/CountRequestBuilder.cs index 9f08aef8213..a0c0706684d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Following/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Following/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Following/FollowingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Following/FollowingRequestBuilder.cs index c966e2f808a..7cc3f4d0287 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Following/FollowingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Following/FollowingRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the items that have been followed by the signed in user.This collection includes items that are in the user's drive as well as items they have access to from other drives. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs index fa57143ddf7..aea0a2f6597 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs index c8e9e84b0ca..758a7d41788 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Following/Item/DriveItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of items the user is following. Only in OneDrive for Business. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Count/CountRequestBuilder.cs index b832e112a21..c83cbb5815e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs index 0a12952cd2c..eb70c07e285 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AllTime/AllTimeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs index 5c5dcbb2d20..28a1529c0c6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Analytics about the view activities that took place on this item. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property analytics in drives @@ -100,7 +100,7 @@ public async Task PatchAsync(ItemAnalytics body, Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property analytics for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs index 93983d94e4c..3e44f4a8eb9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs index 3d3d427c414..9ed8f9ae5b8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to activities for drives @@ -79,7 +79,7 @@ public async Task PostAsync(ItemActivity body, Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Exposes the itemActivities represented in this itemActivityStat resource. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs index 7c540038825..2a4d17c12b9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs index ce016cf295c..e4d3eee217e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs index 491f2e08c56..2ea0c290bfd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Exposes the driveItem that was the target of this activity. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs index 2e287090331..4c6dae44699 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Exposes the itemActivities represented in this itemActivityStat resource. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property activities in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(ItemActivity body, Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property activities for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs index 005738dfb11..0c2b0b9d75c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get itemActivityStats from drives @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property itemActivityStats in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(ItemActivityStat body, Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property itemActivityStats for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs index 486fcd6f62a..3a2fa336423 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to itemActivityStats for drives @@ -79,7 +79,7 @@ public async Task PostAsync(ItemActivityStat body, Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get itemActivityStats from drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs index d3cb620d5d4..58a0230f608 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get lastSevenDays from drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs index b6e7a1249b7..0b5f7120475 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/AssignSensitivityLabel/AssignSensitivityLabelRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(AssignSensitivityLabelPostRequestBody body, Action /// Invoke action assignSensitivityLabel diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs index 5afd2272d52..d28a8e0459c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkin/CheckinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckinPostRequestBody body, Action /// Check in a checked out driveItem resource, which makes the version of the document available to others. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs index d3d90c8ed64..d57d250f16f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Checkout/CheckoutRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs index d1a880aa30f..c1cb930d567 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for drives @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return a collection of DriveItems in the children relationship of a DriveItem. DriveItems with a non-null folder or package facet can have one or more child DriveItems. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs index c1b820fac5a..586d2ee7ed1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs index cecb2b4714c..64e569a13ae 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs index 93445f1950b..87451ce3236 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Children/Item/DriveItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs index 639c3794477..00eaafebde7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs index 034336e5619..c45c41d4f06 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Asynchronously creates a copy of an [driveItem][item-resource] (including any children), under a new parent item or with a new name. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs index b6c0df11c1f..51782a9057a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateLink/CreateLinkRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateLinkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// You can use createLink action to share a DriveItem via a sharing link. The createLink action will create a new sharing link if the specified link type doesn't already exist for the calling application.If a sharing link of the specified type already exists for the app, the existing sharing link will be returned. DriveItem resources inherit sharing permissions from their ancestors. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 659feeeb8eb..b5c8259ab7d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action createUploadSession diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 7ed1a1765ec..2aa8df1ee01 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index e413f096cba..4bf6cee724f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs index e70382aa8be..67934114ebb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs index f14373779f3..28609503404 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DeltaWithToken/DeltaWithTokenRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, DeltaWithTokenResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaWithTokenResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs index d69a9bf9d8a..7db1aecf432 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -184,7 +184,7 @@ public async Task DeleteAsync(Action /// Provides operations to call the delta method. @@ -223,7 +223,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the metadata for a driveItem by ID or path. You can also use update to move an item to another parent by updating the item's parentReference property. @@ -245,7 +245,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the search method. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs index 0e04e843c44..e949f945921 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ExtractSensitivityLabels/ExtractSensitivityLabelsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, ExtractSensitivityLabelsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtractSensitivityLabelsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action extractSensitivityLabels diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs index 1d82357a218..6348ae11ac9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Follow/FollowRequestBuilder.cs @@ -46,7 +46,7 @@ public FollowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Follow a driveItem. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index a00c2ca2211..ba5766bbbe2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index 4aa9094a2cc..61c78a8770e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs index ce7d53b2e64..cec481f3d35 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Invite/InviteRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(InvitePostRequestBody body, Action(requestInfo, InviteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InviteResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Sends a sharing invitation for a driveItem.A sharing invitation provides permissions to the recipients and optionally sends them an email with a [sharing link][]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index f8b7e43f814..3b5b69d13d1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 97ecbcbdb52..2ffd9f79907 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs index 6f02e42d24b..5688b49a2c4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ListItem/ListItemRequestBuilder.cs @@ -45,7 +45,7 @@ public ListItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For drives in SharePoint, the associated document library list item. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs index da750b0d23c..56be9f9c6d7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/PermanentDelete/PermanentDeleteRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action /// Invoke action permanentDelete diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs index 27dad764671..71a843ba88c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs index c28f7c51cd7..7743fd08f4e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/Grant/GrantRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GrantPostRequestBody body, Action(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Grant users access to a link represented by a [permission][]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs index 4f4e00cf828..ab747c76928 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Return the effective sharing permission for a particular permission resource. Effective permissions of an item can come from two sources: permissions set directly on the item itself or permissions that are inherited from the item's ancestors. Callers can differentiate if the permission is inherited or not by checking the inheritedFrom property.This property is an ItemReference resource referencing the ancestor that the permission is inherited from. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a sharing permission by patching the permission resource. Only the roles property can be modified this way. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove access to a DriveItem. Only sharing permissions that are not inherited can be deleted.The inheritedFrom property must be null. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs index 467ff821be2..0cbc7607a2a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Permissions/PermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissions for drives @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the effective sharing permissions on a driveItem. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs index ee49a782d6f..f973e6baa8a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Preview/PreviewRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PreviewPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ItemPreviewInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemPreviewInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action preview diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs index 51f21ddbd26..c246acd9f60 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Restore/RestoreRequestBuilder.cs @@ -48,7 +48,7 @@ public RestoreRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a driveItem that has been deleted and is currently in the recycle bin. NOTE: This functionality is currently only available for OneDrive Personal. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs index 90b1b6153a9..6f3174a1113 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/SearchWithQ/SearchWithQRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, SearchWithQResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SearchWithQResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function search diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs index dcb7849b437..4d67a53ab2c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index 2fde2077400..a4e6c726610 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index d01b24d2a4b..9ef2b0a6990 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The set of subscriptions on the item. Only supported on the root of a drive. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property subscriptions in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property subscriptions for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs index 2aec59dbec1..76382e2bc97 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Subscriptions/SubscriptionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to subscriptions for drives @@ -79,7 +79,7 @@ public async Task PostAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The set of subscriptions on the item. Only supported on the root of a drive. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs index 143f51fec91..2bd81ce56b0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs index 8f1a5b43306..a715c4cb76e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/Item/ThumbnailSetItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ThumbnailSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThumbnailSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property thumbnails in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(ThumbnailSet body, Action(requestInfo, ThumbnailSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThumbnailSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property thumbnails for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs index 8675e632206..c93135e2a4e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Thumbnails/ThumbnailsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ThumbnailSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThumbnailSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to thumbnails for drives @@ -80,7 +80,7 @@ public async Task PostAsync(ThumbnailSet body, Action(requestInfo, ThumbnailSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThumbnailSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a collection of ThumbnailSet resources for a DriveItem resource. A DriveItem can be represented by zero or more ThumbnailSet resources.Each thumbnailSet can have one or more thumbnail objects, which are images that represent the item.For example, a thumbnailSet may include thumbnail objects, such as common ones including small, medium, or large. There are many ways to work with thumbnails on OneDrive.Here are the most common ones: diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs index ff86f7e2a99..3236d27e661 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Unfollow/UnfollowRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unfollow a driveItem. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs index 4c47db0f783..fce846ee483 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/ValidatePermission/ValidatePermissionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ValidatePermissionPostRequestBody body, Action /// Invoke action validatePermission diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs index d67aab4d0db..e3487be9d0b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs index bd42e714266..585e1616f70 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream for this version of the item. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream for this version of the item. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs index f4780a726d0..3e6b4ab2880 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/DriveItemVersionItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a specific version of a DriveItem. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in drives @@ -96,7 +96,7 @@ public async Task PatchAsync(DriveItemVersion body, Action(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index 80692ee5bbb..59a001cfe5d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a previous version of a DriveItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs index b708fb03f4b..92b47a6b56d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Versions/VersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for drives @@ -80,7 +80,7 @@ public async Task PostAsync(DriveItemVersion body, Action(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// OneDrive and SharePoint can be configured to retain the history for files.Depending on the service and configuration, a new version can be created for each edit, each time the file is saved, manually, or never. Previous versions of a document may be retained for a finite period of time depending on admin settings which may be unique per user or location. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs index 5a2a23ccf51..23d1af8082c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/ApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a workbookApplication object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property application in drives @@ -91,7 +91,7 @@ public async Task PatchAsync(WorkbookApplication body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property application for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs index a8cb7068e04..80990a08a4e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Application/Calculate/CalculateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CalculatePostRequestBody body, Action /// Recalculate all currently opened workbooks in Excel. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs index 0c9acbf356a..0bae44066a6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CloseSession/CloseSessionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Use this API to close an existing workbook session. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs index 2c315496678..741e3a507cd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/CommentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookCommentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookCommentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to comments for drives @@ -79,7 +79,7 @@ public async Task PostAsync(WorkbookComment body, Action(requestInfo, WorkbookComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents a collection of comments in a workbook. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs index db7290e59f1..b09733217d5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs index 0d1da3e7348..dc24989f886 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs index ce9986f9592..7487b3dd7a6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/Item/WorkbookCommentReplyItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of workbookCommentReply object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookCommentReply.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookCommentReply.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in drives @@ -86,7 +86,7 @@ public async Task PatchAsync(WorkbookCommentReply body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookCommentReply.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookCommentReply.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs index 8c653112ce6..63faf99dbe2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/Replies/RepliesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookCommentReplyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookCommentReplyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to replies for drives @@ -79,7 +79,7 @@ public async Task PostAsync(WorkbookCommentReply body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookCommentReply.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookCommentReply.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of workbookCommentReply object. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs index 082921a21bc..982c02816e1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Comments/Item/WorkbookCommentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents a collection of comments in a workbook. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property comments in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookComment body, Action(requestInfo, WorkbookComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property comments for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs index f0c020fc4fc..37b1335c59a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/CreateSession/CreateSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookSessionInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookSessionInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new workbook session. Excel APIs can be called in one of two modes: To represent the session in the API, use the workbook-session-id: {session-id} header. In some cases, creating a new session requires an indeterminate time to complete. Microsoft Graph also provides a long running operations pattern. This pattern provides a way to poll for creation status updates, without waiting for the creation to complete. The following are the steps: diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs index 2a1afd56f42..38c14997eab 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Abs/AbsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AbsPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action abs diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs index 9f83f9d58af..7bf8d41fab7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrInt/AccrIntRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AccrIntPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action accrInt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs index 8bb4b6d13ee..8491cf2b916 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AccrIntM/AccrIntMRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AccrIntMPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action accrIntM diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs index ea817851f1b..b35f5db7240 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acos/AcosRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcosPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action acos diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs index ece080c085a..1d784989ce8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acosh/AcoshRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcoshPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action acosh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs index a67fb3cba98..e09e3de86ff 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acot/AcotRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcotPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action acot diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs index c2431d5cbc3..73150699bf7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Acoth/AcothRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcothPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action acoth diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs index aa9a677ea4b..afee617eb7e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorDegrc/AmorDegrcRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AmorDegrcPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action amorDegrc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs index d5126344772..240df2f36bf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AmorLinc/AmorLincRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AmorLincPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action amorLinc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs index 037567f84b1..deb82718e23 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/And/AndRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AndPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action and diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs index cd9fa407735..9f6dc0259c7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Arabic/ArabicRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ArabicPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action arabic diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs index 10806125816..f4697a1c2db 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Areas/AreasRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AreasPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action areas diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs index 6e920c30fc0..7d383802f33 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asc/AscRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AscPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action asc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs index 3930ee455d7..11d07d35fa8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asin/AsinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AsinPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action asin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs index 55244626464..cf46d771fee 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Asinh/AsinhRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AsinhPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action asinh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs index 1aa67030339..a487c4aaa45 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan/AtanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AtanPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action atan diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs index 66d13ab15ed..13dcba91430 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atan2/Atan2RequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Atan2PostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action atan2 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs index b2b40d57866..b7f7c24e438 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Atanh/AtanhRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AtanhPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action atanh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs index 6dfb4956baa..a43020f9b15 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AveDev/AveDevRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AveDevPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action aveDev diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs index 19387c8c614..d78ecb9a3c9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Average/AverageRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AveragePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action average diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs index 6231260b29f..0b78b382c60 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageA/AverageARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AverageAPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action averageA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs index 671e0ce44e6..90a5ce1261f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIf/AverageIfRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AverageIfPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action averageIf diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs index 31d53221bdf..361f9536457 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/AverageIfs/AverageIfsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AverageIfsPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action averageIfs diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs index 20211512535..adba985d537 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BahtText/BahtTextRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BahtTextPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bahtText diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs index 0b238d1e8ec..33cf9342bc3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Base/BaseRequestBuilderEscaped.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BasePostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action base diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs index 5f2dd330cb3..592f4a16299 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselI/BesselIRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BesselIPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action besselI diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs index 99df287fecf..f2297490be2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselJ/BesselJRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BesselJPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action besselJ diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs index 048a40674f8..bba5a7bbf73 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselK/BesselKRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BesselKPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action besselK diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs index 132c45145a3..64081a724a6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/BesselY/BesselYRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BesselYPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action besselY diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs index 95464d1c898..c2fe3aea6a6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistPostRequestBody.cs @@ -12,14 +12,14 @@ public class Beta_DistPostRequestBody : IAdditionalDataHolder, IBackedModel, IPa #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Json? A { - get { return BackingStore?.Get("A"); } - set { BackingStore?.Set("A", value); } + get { return BackingStore?.Get("a"); } + set { BackingStore?.Set("a", value); } } #nullable restore #else public Json A { - get { return BackingStore?.Get("A"); } - set { BackingStore?.Set("A", value); } + get { return BackingStore?.Get("a"); } + set { BackingStore?.Set("a", value); } } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -45,14 +45,14 @@ public Json Alpha { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Json? B { - get { return BackingStore?.Get("B"); } - set { BackingStore?.Set("B", value); } + get { return BackingStore?.Get("b"); } + set { BackingStore?.Set("b", value); } } #nullable restore #else public Json B { - get { return BackingStore?.Get("B"); } - set { BackingStore?.Set("B", value); } + get { return BackingStore?.Get("b"); } + set { BackingStore?.Set("b", value); } } #endif /// Stores model information. @@ -119,9 +119,9 @@ public static Beta_DistPostRequestBody CreateFromDiscriminatorValue(IParseNode p /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"A", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + {"a", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"B", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + {"b", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, {"beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, {"cumulative", n => { Cumulative = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, @@ -133,9 +133,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("A", A); + writer.WriteObjectValue("a", A); writer.WriteObjectValue("alpha", Alpha); - writer.WriteObjectValue("B", B); + writer.WriteObjectValue("b", B); writer.WriteObjectValue("beta", Beta); writer.WriteObjectValue("cumulative", Cumulative); writer.WriteObjectValue("x", X); diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs index c8a3bd4eca0..72471dae0ba 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Dist/Beta_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Beta_DistPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action beta_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs index ef8dfea6941..13be705cbf5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvPostRequestBody.cs @@ -12,14 +12,14 @@ public class Beta_InvPostRequestBody : IAdditionalDataHolder, IBackedModel, IPar #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Json? A { - get { return BackingStore?.Get("A"); } - set { BackingStore?.Set("A", value); } + get { return BackingStore?.Get("a"); } + set { BackingStore?.Set("a", value); } } #nullable restore #else public Json A { - get { return BackingStore?.Get("A"); } - set { BackingStore?.Set("A", value); } + get { return BackingStore?.Get("a"); } + set { BackingStore?.Set("a", value); } } #endif /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @@ -45,14 +45,14 @@ public Json Alpha { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Json? B { - get { return BackingStore?.Get("B"); } - set { BackingStore?.Set("B", value); } + get { return BackingStore?.Get("b"); } + set { BackingStore?.Set("b", value); } } #nullable restore #else public Json B { - get { return BackingStore?.Get("B"); } - set { BackingStore?.Set("B", value); } + get { return BackingStore?.Get("b"); } + set { BackingStore?.Set("b", value); } } #endif /// Stores model information. @@ -105,9 +105,9 @@ public static Beta_InvPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"A", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + {"a", n => { A = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, {"alpha", n => { Alpha = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, - {"B", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + {"b", n => { B = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, {"beta", n => { Beta = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, {"probability", n => { Probability = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; @@ -118,9 +118,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("A", A); + writer.WriteObjectValue("a", A); writer.WriteObjectValue("alpha", Alpha); - writer.WriteObjectValue("B", B); + writer.WriteObjectValue("b", B); writer.WriteObjectValue("beta", Beta); writer.WriteObjectValue("probability", Probability); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs index 1c1806763e9..47654075c21 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Beta_Inv/Beta_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Beta_InvPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action beta_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs index b01abb44730..217ca140b18 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Dec/Bin2DecRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Bin2DecPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bin2Dec diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs index 8797857aa6c..5f1506d0b0e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Hex/Bin2HexRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Bin2HexPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bin2Hex diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs index bfa6af81d5b..d161e707ab7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bin2Oct/Bin2OctRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Bin2OctPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bin2Oct diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs index d038be1dc2a..79eea35ea9c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist/Binom_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Binom_DistPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action binom_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs index 9bb9b4e9ab5..58ab6caf5f6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Dist_Range/Binom_Dist_RangeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Binom_Dist_RangePostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action binom_Dist_Range diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs index cb1fbdba490..b4ee8739ee5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Binom_Inv/Binom_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Binom_InvPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action binom_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs index 72610e7dbd1..458b3412944 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitand/BitandRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BitandPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bitand diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs index 4a624710b5b..0202b9164ab 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitlshift/BitlshiftRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BitlshiftPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bitlshift diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs index 08ee867172b..73d50371de1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitor/BitorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BitorPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bitor diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs index f286da7f9e9..0f28914cc11 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitrshift/BitrshiftRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BitrshiftPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bitrshift diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs index 24240c6b4ed..f9493fc742a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Bitxor/BitxorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BitxorPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action bitxor diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs index 43c4340af3d..a7cd83f2db6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Math/Ceiling_MathRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Ceiling_MathPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ceiling_Math diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs index af4e6b7dc39..84c041412b4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ceiling_Precise/Ceiling_PreciseRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Ceiling_PrecisePostRequestBo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ceiling_Precise diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs index cf3f0a23901..856fc421d43 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CharNamespace/CharRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CharPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action char diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs index fbaaf05d3ac..46055a9e740 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist/ChiSq_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChiSq_DistPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action chiSq_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs index b56e3b6bf32..583d63a6ff1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Dist_RT/ChiSq_Dist_RTRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChiSq_Dist_RTPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action chiSq_Dist_RT diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs index c9070289d96..083eacd8887 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv/ChiSq_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChiSq_InvPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action chiSq_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs index efa5e18cde9..e34895a9898 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ChiSq_Inv_RT/ChiSq_Inv_RTRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChiSq_Inv_RTPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action chiSq_Inv_RT diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs index 9b181ab5420..50a5abf77c1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Choose/ChooseRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChoosePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action choose diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs index aa917a0e305..5265d731a8e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Clean/CleanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CleanPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action clean diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs index 95ec639dab0..0587afb6084 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Code/CodeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CodePostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action code diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs index 2be7db309d9..9c7ac336982 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Columns/ColumnsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ColumnsPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action columns diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs index 5bc4efea6b3..6e905d51322 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combin/CombinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CombinPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action combin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs index eb74eedcf69..7c44ccd11a3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Combina/CombinaRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CombinaPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action combina diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs index b7995d3a8ec..f3ba98a4dde 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Complex/ComplexRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ComplexPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action complex diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs index 6cb6ab5e35b..3925b000629 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Concatenate/ConcatenateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ConcatenatePostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action concatenate diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs index 18cefb26938..b889f75646f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_Norm/Confidence_NormRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Confidence_NormPostRequestBo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action confidence_Norm diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs index 0cb741c32a3..75557cb9929 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Confidence_T/Confidence_TRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Confidence_TPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action confidence_T diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs index 0d531b049bb..939ce298d9d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ConvertNamespace/ConvertRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ConvertPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action convert diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs index 179464ad2be..822eb95f51e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cos/CosRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CosPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action cos diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs index 870e3aaf85b..9512789ba98 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cosh/CoshRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CoshPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action cosh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs index 547e1a81819..11eee453d4a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Cot/CotRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CotPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action cot diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs index 84608c1d1c4..de8cbe40042 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Coth/CothRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CothPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action coth diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs index da66c0f037e..585169b4963 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Count/CountRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CountPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs index d854c21c734..9271f915c5b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountA/CountARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CountAPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action countA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs index 49a84bce9f5..0dd913d074b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountBlank/CountBlankRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CountBlankPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action countBlank diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs index d2b89f9a895..450d942bf41 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIf/CountIfRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CountIfPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action countIf diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs index 7b3fd67b6b6..237a66d5c7d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CountIfs/CountIfsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CountIfsPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action countIfs diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs index afa9ca19948..76e528aec52 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDayBs/CoupDayBsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CoupDayBsPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action coupDayBs diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs index 7b4e2fe23f6..0206e2307e4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDays/CoupDaysRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CoupDaysPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action coupDays diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs index b30a53bffc8..b82f583e698 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupDaysNc/CoupDaysNcRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CoupDaysNcPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action coupDaysNc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs index 70c31d81aa6..05739d19c4e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNcd/CoupNcdRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CoupNcdPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action coupNcd diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs index c292d938622..488368b897c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupNum/CoupNumRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CoupNumPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action coupNum diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs index ddf72218d26..fb1a23702b7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CoupPcd/CoupPcdRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CoupPcdPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action coupPcd diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs index 825d125166b..713339d720a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csc/CscRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CscPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action csc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs index d0719306e3b..de01c602c06 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Csch/CschRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CschPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action csch diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs index 807f09f4efe..d76568dae38 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumIPmt/CumIPmtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CumIPmtPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action cumIPmt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs index 8c92a3c29d3..5a81c34a388 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/CumPrinc/CumPrincRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CumPrincPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action cumPrinc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs index 8ea9cc83672..d10ef32d9d4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DateNamespace/DateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DatePostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action date diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs index 9d5362e7f4e..e7a3963975b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Datevalue/DatevalueRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DatevaluePostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action datevalue diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs index f636a939ab3..b4923dca6b2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Daverage/DaverageRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DaveragePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action daverage diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs index 7c8a3d92696..545a5266a5e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Day/DayRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DayPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action day diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs index 33f1e56ec91..cac62f0be98 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days/DaysRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DaysPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action days diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs index 1cb915f6b2d..7d5876c0eaf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Days360/Days360RequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Days360PostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action days360 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs index 83f9199faa4..c9a745941bd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Db/DbRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DbPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action db diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs index b62e187682a..051f8b8c6b8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dbcs/DbcsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DbcsPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dbcs diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs index b7225688b7e..3b931813c15 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dcount/DcountRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DcountPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dcount diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs index 74650c548ab..4057cdc30e5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DcountA/DcountARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DcountAPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dcountA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs index 25424f563df..9a838bb790b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ddb/DdbRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DdbPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ddb diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs index 946bf4b2954..5231de63503 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Bin/Dec2BinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Dec2BinPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dec2Bin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs index 08521ca61c3..00af3ccaffb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Hex/Dec2HexRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Dec2HexPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dec2Hex diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs index decc19c6b16..0f2ddfc048a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dec2Oct/Dec2OctRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Dec2OctPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dec2Oct diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs index 74cb9f44148..8b09959356b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DecimalNamespace/DecimalRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DecimalPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action decimal diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs index 4e932ed3793..514bb1c3571 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Degrees/DegreesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DegreesPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action degrees diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs index d1a1af1cdf9..0312bbc3f21 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Delta/DeltaRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeltaPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action delta diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs index 16098a95fcf..68a4260e339 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DevSq/DevSqRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DevSqPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action devSq diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs index 5822676eb76..674453d5dc1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dget/DgetRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DgetPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dget diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs index 2ab0f1c649d..03fb16370be 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Disc/DiscRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DiscPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action disc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs index aa568dc2d3b..7934547fb08 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmax/DmaxRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DmaxPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dmax diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs index 10cc2f615f0..47685393f38 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dmin/DminRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DminPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dmin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs index 002c09db480..46277994185 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dollar/DollarRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DollarPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dollar diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs index c489806d0cf..27a20720137 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarDe/DollarDeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DollarDePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dollarDe diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs index 3c3b6161a16..20e1bd7540b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DollarFr/DollarFrRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DollarFrPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dollarFr diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs index beb942d0028..50b54871b95 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dproduct/DproductRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DproductPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dproduct diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs index 9abbfc87de4..40215d0b64b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDev/DstDevRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DstDevPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dstDev diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs index eb21968418e..2fb25cc277a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DstDevP/DstDevPRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DstDevPPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dstDevP diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs index cff64e387b6..95113da056a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dsum/DsumRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DsumPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dsum diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs index f5d2d06b13c..d42e6248bdd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Duration/DurationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DurationPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action duration diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs index 332017a47c3..a8ebefa8e62 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Dvar/DvarRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DvarPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dvar diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs index c9716da773e..d1d368bb57e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/DvarP/DvarPRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DvarPPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action dvarP diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs index a587cac63c5..e65e2fdc1b4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ecma_Ceiling/Ecma_CeilingRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Ecma_CeilingPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ecma_Ceiling diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs index 880f7e1327f..19230b11905 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Edate/EdateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(EdatePostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action edate diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs index 297d2d22a9f..717dcd8c533 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Effect/EffectRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(EffectPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action effect diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs index 03c9118567d..a62fa155fb5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/EoMonth/EoMonthRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(EoMonthPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action eoMonth diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs index 50b12f91a41..a2f3b47d60d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf/ErfRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ErfPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action erf diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs index b382d25d766..17a1f147f73 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC/ErfCRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ErfCPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action erfC diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs index 1654910679b..c370f6a8d9d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PrecisePostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Json? X { - get { return BackingStore?.Get("X"); } - set { BackingStore?.Set("X", value); } + get { return BackingStore?.Get("x"); } + set { BackingStore?.Set("x", value); } } #nullable restore #else public Json X { - get { return BackingStore?.Get("X"); } - set { BackingStore?.Set("X", value); } + get { return BackingStore?.Get("x"); } + set { BackingStore?.Set("x", value); } } #endif /// @@ -49,7 +49,7 @@ public static ErfC_PrecisePostRequestBody CreateFromDiscriminatorValue(IParseNod /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"X", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("X", X); + writer.WriteObjectValue("x", X); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs index 803972037c7..a28f2b9773c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ErfC_Precise/ErfC_PreciseRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ErfC_PrecisePostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action erfC_Precise diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs index b9bdc12b4c5..c7b2167cf23 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PrecisePostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Json? X { - get { return BackingStore?.Get("X"); } - set { BackingStore?.Set("X", value); } + get { return BackingStore?.Get("x"); } + set { BackingStore?.Set("x", value); } } #nullable restore #else public Json X { - get { return BackingStore?.Get("X"); } - set { BackingStore?.Set("X", value); } + get { return BackingStore?.Get("x"); } + set { BackingStore?.Set("x", value); } } #endif /// @@ -49,7 +49,7 @@ public static Erf_PrecisePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"X", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, + {"x", n => { X = n.GetObjectValue(Json.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("X", X); + writer.WriteObjectValue("x", X); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs index 3c2201fe6db..8325a3c9a6f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Erf_Precise/Erf_PreciseRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Erf_PrecisePostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action erf_Precise diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs index 74dc422f442..4cfcb11056e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Error_Type/Error_TypeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Error_TypePostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action error_Type diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs index a14ec57f430..70af6548244 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Even/EvenRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(EvenPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action even diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs index 3d58d5f053e..3b726601bbe 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exact/ExactRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ExactPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action exact diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs index e8d48b189a7..8b58ef98cfb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Exp/ExpRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ExpPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action exp diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs index b8f0899c0c5..48fe81c539a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Expon_Dist/Expon_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Expon_DistPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action expon_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs index e80e1a2851d..7eda71c426e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist/F_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(F_DistPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action f_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs index b5f67fd6d1c..15b45302f0e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Dist_RT/F_Dist_RTRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(F_Dist_RTPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action f_Dist_RT diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs index b0414d2c23b..b126128f2be 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv/F_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(F_InvPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action f_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs index 2d42c5b1b79..8b292e83976 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/F_Inv_RT/F_Inv_RTRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(F_Inv_RTPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action f_Inv_RT diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs index 37d80d6f5b5..51513c2ceac 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fact/FactRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FactPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action fact diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs index 11730c606f4..35c2b701e71 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FactDouble/FactDoubleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FactDoublePostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action factDouble diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs index d3182919ba3..83354d447ae 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/False/FalseRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action false diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs index 326e05bde84..e0f717a9356 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Find/FindRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FindPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action find diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs index ddd6d92d19b..950d21a16f0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FindB/FindBRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FindBPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action findB diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs index 55540b3a536..13bbe60265e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fisher/FisherRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FisherPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action fisher diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs index 33fe9b2e7a7..ebdae0b464a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FisherInv/FisherInvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FisherInvPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action fisherInv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs index ee7591535d4..8c293a1a3f5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fixed/FixedRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FixedPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action fixed diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs index 3a78b400c40..078aa8a79d4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Math/Floor_MathRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Floor_MathPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action floor_Math diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs index a15cfc37530..12d5b17130b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Floor_Precise/Floor_PreciseRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Floor_PrecisePostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action floor_Precise diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs index 6153bd0b7a4..e68e01ebf95 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/FunctionsRequestBuilder.cs @@ -1875,7 +1875,7 @@ public async Task DeleteAsync(Action /// Get functions from drives @@ -1894,7 +1894,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookFunctions.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property functions in drives @@ -1915,7 +1915,7 @@ public async Task PatchAsync(WorkbookFunctions body, Action(requestInfo, WorkbookFunctions.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctions.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property functions for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs index 76bcb286f8d..1f70e6b4b05 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fv/FvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FvPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action fv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs index 6e1af6f9eed..162e8fd998d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Fvschedule/FvscheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(FvschedulePostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action fvschedule diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs index 8e67d1f818e..1014d39aeb0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma/GammaRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GammaPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action gamma diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs index 7e73e2b9b32..78e94fee3b3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn/GammaLnRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GammaLnPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action gammaLn diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs index 076b48a2779..93bb771a11e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GammaLn_Precise/GammaLn_PreciseRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GammaLn_PrecisePostRequestBo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action gammaLn_Precise diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs index 0530ba0004f..7b6618fb065 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Dist/Gamma_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Gamma_DistPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action gamma_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs index d17e8d49215..1d22dbb88f5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gamma_Inv/Gamma_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Gamma_InvPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action gamma_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs index c1aaf6b67a8..1f54b85608f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gauss/GaussRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GaussPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action gauss diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs index 86576ed2346..21b28263c24 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Gcd/GcdRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GcdPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action gcd diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs index 9d51c8f09ca..c63bcf39080 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeStep/GeStepRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GeStepPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action geStep diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs index c40c3e2c0ae..559446f3184 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/GeoMean/GeoMeanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GeoMeanPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action geoMean diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs index 8f555eb1ad8..6ccdc57c6a1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HarMean/HarMeanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HarMeanPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action harMean diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs index c9a0ad3fa46..344bd000392 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Bin/Hex2BinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Hex2BinPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action hex2Bin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs index fb614a54914..d9f421e9bd9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Dec/Hex2DecRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Hex2DecPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action hex2Dec diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs index 45bd40cf760..acf89aadb78 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hex2Oct/Hex2OctRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Hex2OctPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action hex2Oct diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs index d54874255ba..017b5c51309 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hlookup/HlookupRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HlookupPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action hlookup diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs index c4069b4f48d..ffc54d684cc 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hour/HourRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HourPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action hour diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs index 246b867b384..b59b9d828f4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/HypGeom_Dist/HypGeom_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HypGeom_DistPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action hypGeom_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs index 64e4bf07943..58e09f2e8fc 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Hyperlink/HyperlinkRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HyperlinkPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action hyperlink diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs index 4cabbbc9564..ae6591b4152 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/If/IfRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IfPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action if diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs index af0278d8eb2..cea641207fb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImAbs/ImAbsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImAbsPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imAbs diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs index a1c5cd58b76..13c88704f05 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImArgument/ImArgumentRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImArgumentPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imArgument diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs index 881d943c844..c1d17656821 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImConjugate/ImConjugateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImConjugatePostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imConjugate diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs index d313b77dd25..9854d5c28e8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCos/ImCosRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImCosPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imCos diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs index 26bf38d2071..13762fcd1b9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCosh/ImCoshRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImCoshPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imCosh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs index e5ebce70336..d2eb13e8ddd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCot/ImCotRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImCotPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imCot diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs index dca4188e5d0..59e76e1c6e8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsc/ImCscRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImCscPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imCsc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs index 54c3bc756f9..96fddda334a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImCsch/ImCschRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImCschPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imCsch diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs index 7b2ac38d6e1..ce8849a66fc 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImDiv/ImDivRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImDivPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imDiv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs index e6a4395288e..5144af02b90 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImExp/ImExpRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImExpPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imExp diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs index 3cd3370f945..2b9c3b3af67 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLn/ImLnRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImLnPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imLn diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs index 419bc90eb75..cd340325664 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog10/ImLog10RequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImLog10PostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imLog10 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs index 007b2ac06b0..f1092cf18e5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImLog2/ImLog2RequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImLog2PostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imLog2 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs index af551a2c79d..0459b999820 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImPower/ImPowerRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImPowerPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imPower diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs index d6fde8293ba..652cf494d20 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImProduct/ImProductRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImProductPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imProduct diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs index b0377f986db..3d89296bc63 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImReal/ImRealRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImRealPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imReal diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs index 14d38d41fb2..01e86788942 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSec/ImSecRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImSecPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imSec diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs index ea7922bf05a..ff68b13e937 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSech/ImSechRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImSechPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imSech diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs index 339694e42a5..e7aaaaecf59 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSin/ImSinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImSinPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imSin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs index b5b31c80ef1..2338a77b850 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSinh/ImSinhRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImSinhPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imSinh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs index bc7f88a508b..efa5674001f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSqrt/ImSqrtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImSqrtPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imSqrt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs index c69454757b0..9b2c51093bf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSub/ImSubRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImSubPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imSub diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs index ff822b10642..ea607d36b50 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImSum/ImSumRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImSumPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imSum diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs index 361a0b92398..0d385b2d872 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ImTan/ImTanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImTanPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imTan diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs index 576e3a2ab12..4fa78809fa0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Imaginary/ImaginaryRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ImaginaryPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action imaginary diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs index 0ce3667f7f4..a157ab20335 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Int/IntRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IntPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action int diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs index 2cbadf6f43f..496bcc3d547 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IntRate/IntRateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IntRatePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action intRate diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs index daaa66ba02c..b2addadda39 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ipmt/IpmtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IpmtPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ipmt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs index 3c61322f9bd..2180a67a0f9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Irr/IrrRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IrrPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action irr diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs index d70834bec4f..bc8bbabb843 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsErr/IsErrRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsErrPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isErr diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs index a483d5d5b7c..7105f474d8c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsError/IsErrorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsErrorPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isError diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs index 5e12c62e74b..dc25b722fd0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsEven/IsEvenRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsEvenPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isEven diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs index 27b59c5c1c8..2a3db8c3ad6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsFormula/IsFormulaRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsFormulaPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isFormula diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs index c2b06042ebb..dfb6f71ac4f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsLogical/IsLogicalRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsLogicalPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isLogical diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs index 264467f8764..bfe0990048b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNA/IsNARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsNAPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isNA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs index f05217061e9..3b8662de9d4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNonText/IsNonTextRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsNonTextPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isNonText diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs index e94c1c22404..643cc65f290 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsNumber/IsNumberRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsNumberPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isNumber diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs index bb9fa675706..e7effc8ce1b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsOdd/IsOddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsOddPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isOdd diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs index dac49afacec..fd330aa42e5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsText/IsTextRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsTextPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isText diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs index 3a9fa8897cb..8cc136dcc61 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/IsoWeekNum/IsoWeekNumRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsoWeekNumPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isoWeekNum diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs index 31c1576b621..1fab93c1df4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Iso_Ceiling/Iso_CeilingRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Iso_CeilingPostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action iso_Ceiling diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs index 2383d115ac0..56f02ee4387 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ispmt/IspmtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IspmtPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ispmt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs index b6945492422..897aebf2c22 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Isref/IsrefRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(IsrefPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action isref diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs index 7b402463fd8..ffc16f17f7f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Kurt/KurtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(KurtPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action kurt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs index 91b75fbdeb4..ac0c86e48d1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Large/LargeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LargePostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action large diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs index a632d436faf..66243c09241 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lcm/LcmRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LcmPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action lcm diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs index a454e8dea2c..884aaa7c7b8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Left/LeftRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LeftPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action left diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs index aa31ffc2030..8e5ff0ced01 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Leftb/LeftbRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LeftbPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action leftb diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs index faaffe767e3..cea46e6c651 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Len/LenRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LenPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action len diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs index 7232f2939e0..21631fc69b9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lenb/LenbRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LenbPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action lenb diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs index 7fc11ce1497..2d9eb39ae66 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ln/LnRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LnPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ln diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs index 5952958a057..8fa9866d0a3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log/LogRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LogPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action log diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs index 78455f80b39..30096453bf1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Log10/Log10RequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Log10PostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action log10 diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs index f229b7739e0..05d9081947f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Dist/LogNorm_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LogNorm_DistPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action logNorm_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs index b830070e048..c69ce42f975 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/LogNorm_Inv/LogNorm_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LogNorm_InvPostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action logNorm_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs index 40241dd1af9..a579ffb843a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lookup/LookupRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LookupPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action lookup diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs index 425eec8dcb2..563df938214 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Lower/LowerRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(LowerPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action lower diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs index 0b424888d18..ec1f146e531 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Match/MatchRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MatchPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action match diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs index e653de5d5f1..61c407d730e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Max/MaxRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MaxPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action max diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs index 42847c64aa7..b7c709b0623 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MaxA/MaxARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MaxAPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action maxA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs index dfd00e6e471..6c0e86acbec 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mduration/MdurationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MdurationPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action mduration diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs index b7eb2d2d58c..47238d1a0b5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Median/MedianRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MedianPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action median diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs index 257056747d9..a02218cfd90 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mid/MidRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MidPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action mid diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs index b8d71feb056..49fb24d1656 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Midb/MidbRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MidbPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action midb diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs index d2190b30e64..fcd902b12c0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Min/MinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MinPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action min diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs index 938bf4a4cf5..1bd9a267962 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MinA/MinARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MinAPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action minA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs index b3aa3d6df27..a8b2c724d76 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Minute/MinuteRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MinutePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action minute diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs index 0dcc0bd8825..ae60321a688 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mirr/MirrRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MirrPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action mirr diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs index 1ab458ba2db..c7059ebc454 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mod/ModRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ModPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action mod diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs index fa6689a2266..e7decdb315e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Month/MonthRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MonthPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action month diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs index 600037febb2..bd51b684aad 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Mround/MroundRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MroundPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action mround diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs index 2902de46b6d..1bde3a2e9cd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/MultiNomial/MultiNomialRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MultiNomialPostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action multiNomial diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs index 25c8df4652c..3aebd56fae1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/N/NRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NPostRequestBody body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action n diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs index 23f6e90dea1..564b231903c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Na/NaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action na diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs index 2d0983206ac..6e0e8e48f3f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NegBinom_Dist/NegBinom_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NegBinom_DistPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action negBinom_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs index 2c6d11a3232..435313778f3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays/NetworkDaysRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NetworkDaysPostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action networkDays diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs index 14168f7a8ca..8a551add53c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NetworkDays_Intl/NetworkDays_IntlRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NetworkDays_IntlPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action networkDays_Intl diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs index 290fce4a4a7..9a305a086d9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nominal/NominalRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NominalPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action nominal diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs index e595fa7067f..72de2528075 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Dist/Norm_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Norm_DistPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action norm_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs index ca041f1c0f5..768898545f2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_Inv/Norm_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Norm_InvPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action norm_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs index f1c4790684d..88b4a0c4171 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Dist/Norm_S_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Norm_S_DistPostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action norm_S_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs index 5fe5a2ffaea..aa366dade45 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Norm_S_Inv/Norm_S_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Norm_S_InvPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action norm_S_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs index be75dd34875..9688e668b34 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Not/NotRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NotPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action not diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs index 162a47435e9..02d836ddaba 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Now/NowRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action now diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs index 646e7de7a01..7ad3f3273ce 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Nper/NperRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NperPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action nper diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs index 2c89bad420a..6a9c8867144 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Npv/NpvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NpvPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action npv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs index 03815cd27dd..c9455fea6b5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/NumberValue/NumberValueRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(NumberValuePostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action numberValue diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs index 3b2f828da62..258495471d9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Bin/Oct2BinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Oct2BinPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action oct2Bin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs index 77335ab7f99..07688e9a819 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Dec/Oct2DecRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Oct2DecPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action oct2Dec diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs index 7e552550284..d37f2516fd9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Oct2Hex/Oct2HexRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Oct2HexPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action oct2Hex diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs index 726c1fb80b0..f90c6106276 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Odd/OddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(OddPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action odd diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs index 9a042169046..638023fc0f3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFPrice/OddFPriceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(OddFPricePostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action oddFPrice diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs index 2ac3bcfca6a..1c119acea02 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddFYield/OddFYieldRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(OddFYieldPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action oddFYield diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs index 109787b7604..f6f81c24488 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLPrice/OddLPriceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(OddLPricePostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action oddLPrice diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs index e22cc141918..ac1645a1f56 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/OddLYield/OddLYieldRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(OddLYieldPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action oddLYield diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs index 446460bbc1a..b4a627153f4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Or/OrRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(OrPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action or diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs index 3ab528ccdd5..717002ef41f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pduration/PdurationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PdurationPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action pduration diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs index 6c7aa47cf47..6f7fe44cd20 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Exc/PercentRank_ExcRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PercentRank_ExcPostRequestBo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action percentRank_Exc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs index 29ec4dbed31..cfbf0cd2df7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PercentRank_Inc/PercentRank_IncRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PercentRank_IncPostRequestBo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action percentRank_Inc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs index 86fc84e5dc5..c72625b020e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Exc/Percentile_ExcRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Percentile_ExcPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action percentile_Exc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs index c0136b09f30..02e3b065689 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Percentile_Inc/Percentile_IncRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Percentile_IncPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action percentile_Inc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs index c0f6b773c6a..e281441be60 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permut/PermutRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PermutPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action permut diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs index de23193825c..d2ff30f0027 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Permutationa/PermutationaRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PermutationaPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action permutationa diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs index a984c60d2b5..5d5cfa98dde 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Phi/PhiRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PhiPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action phi diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs index 53e483d8adc..53d29bf2259 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pi/PiRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action pi diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs index a4bf8ad39f9..3db70408671 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pmt/PmtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PmtPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action pmt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs index 3b5fe5221ad..3c1d4089a4c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Poisson_Dist/Poisson_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Poisson_DistPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action poisson_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs index c7c648d577a..612bed2f532 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Power/PowerRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PowerPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action power diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs index 72ac5f74840..0136fc8e1ad 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Ppmt/PpmtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PpmtPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action ppmt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs index 9c11dbf2b85..d2afe20d8c0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Price/PriceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PricePostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action price diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs index 165c23b1b04..8b537a9270b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceDisc/PriceDiscRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PriceDiscPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action priceDisc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs index 533805e741a..fece9ec6f4d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/PriceMat/PriceMatRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PriceMatPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action priceMat diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs index 296ba3bd86f..3a6fe6893da 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Product/ProductRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ProductPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action product diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs index 1f4c875cd75..13cf56c171a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Proper/ProperRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ProperPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action proper diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs index e4f945bfbdd..bd9c4941325 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Pv/PvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PvPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action pv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs index 62bde5271b6..3f868d0945a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Exc/Quartile_ExcRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Quartile_ExcPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action quartile_Exc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs index 854087c0db3..4b386a357de 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quartile_Inc/Quartile_IncRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Quartile_IncPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action quartile_Inc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs index 2bd7c7a10cc..39b8964b92a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Quotient/QuotientRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(QuotientPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action quotient diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs index c3b574f5ac1..f5ed333f5ef 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Radians/RadiansRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RadiansPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action radians diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs index f019f0a7eb3..de001ba99f5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rand/RandRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rand diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs index 70a9ec9828b..705d6d773ef 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RandBetween/RandBetweenRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RandBetweenPostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action randBetween diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs index 21136e7adb2..104bb57861c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Avg/Rank_AvgRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Rank_AvgPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rank_Avg diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs index 181103da002..5a81e16245a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rank_Eq/Rank_EqRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Rank_EqPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rank_Eq diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs index 6befb72a94c..ff175a6148c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rate/RateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RatePostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rate diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs index c37c4c193ff..dbc11721d0d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Received/ReceivedRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReceivedPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action received diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs index 20a8eccccb4..75074a65002 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Replace/ReplaceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplacePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action replace diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs index 8fc1f589f47..f4bf7e1e980 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/ReplaceB/ReplaceBRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplaceBPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action replaceB diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs index 0d695b29674..d19f0533a3b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rept/ReptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReptPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rept diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs index 872cacd5516..b86aa86eaa7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Right/RightRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RightPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action right diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs index 65102f12665..1fa1183303f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rightb/RightbRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RightbPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rightb diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs index 2b6ea48db87..2b12ccb472c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Roman/RomanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RomanPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action roman diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs index f34772fd01a..c1f762a935a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Round/RoundRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RoundPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action round diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs index ddcd082c4d2..7b185efecfb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundDown/RoundDownRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RoundDownPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action roundDown diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs index 4724f0d71ce..784c3a0b214 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/RoundUp/RoundUpRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RoundUpPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action roundUp diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs index 144164e52ac..21ef9ca439f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rows/RowsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RowsPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rows diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs index 7852fae1a7c..b8bd5937904 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Rri/RriRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RriPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action rri diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs index 9c43434d091..57594ab7ad7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sec/SecRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SecPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sec diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs index 149996d26fa..019f59e2725 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sech/SechRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SechPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sech diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs index d66ed415a70..071c33cc508 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Second/SecondRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SecondPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action second diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs index 5097b2fe545..58bee44cf3e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SeriesSum/SeriesSumRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SeriesSumPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action seriesSum diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs index 5fcfb9e5347..6b3489aefae 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheet/SheetRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SheetPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sheet diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs index 85fd25739dc..b2db92f0d9c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sheets/SheetsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SheetsPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sheets diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs index f47a39011f9..e177d8b7141 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sign/SignRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SignPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sign diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs index 61bbe97efbf..bd2bd835ef2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sin/SinRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SinPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sin diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs index 51e503d63f5..1b9cf82ee82 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sinh/SinhRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SinhPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sinh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs index 7d5f81dfbec..abc80ccd9b5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew/SkewRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SkewPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action skew diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs index 2a4d8f60683..f61fc55a3aa 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Skew_p/Skew_pRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Skew_pPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action skew_p diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs index 1c0a619e436..8c6fc762584 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sln/SlnRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SlnPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sln diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs index d1fe3fb38ef..2f258bb9db1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Small/SmallRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SmallPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action small diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs index b68ed1bccfb..ab3621bc33c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sqrt/SqrtRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SqrtPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sqrt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs index 3ab078a11dc..91128d7509c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SqrtPi/SqrtPiRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SqrtPiPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sqrtPi diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs index f50c3bc96f0..5f48ba5091f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevA/StDevARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(StDevAPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action stDevA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs index 8fb19588403..ffdbda9c002 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDevPA/StDevPARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(StDevPAPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action stDevPA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs index fbd58dd2f6e..c3fcc1a78d6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_P/StDev_PRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(StDev_PPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action stDev_P diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs index 16455ddbfec..4c8c6c31d3f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/StDev_S/StDev_SRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(StDev_SPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action stDev_S diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs index 463cf972c8b..5697f2d77c7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Standardize/StandardizeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(StandardizePostRequestBody b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action standardize diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs index 364d56d6ca1..0d97369a101 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Substitute/SubstituteRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SubstitutePostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action substitute diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs index 65b164640bd..9c7f5459ff6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Subtotal/SubtotalRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SubtotalPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action subtotal diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs index e2e327de477..da840336541 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Sum/SumRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SumPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sum diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs index cb682656f8f..95d4921c7a9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIf/SumIfRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SumIfPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sumIf diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs index 0988bd87df3..8cafb272ff1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumIfs/SumIfsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SumIfsPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sumIfs diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs index ce8bf58f818..708000c1a28 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/SumSq/SumSqRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SumSqPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action sumSq diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs index 08701e4808b..c7c8960de4d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Syd/SydRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SydPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action syd diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs index e3aaa51d5d1..d3899f2c43c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T/TRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TPostRequestBody body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action t diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs index 585b1795e7a..9a2887ed324 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist/T_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(T_DistPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action t_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs index cbc9ba04329..57add38cfea 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_2T/T_Dist_2TRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(T_Dist_2TPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action t_Dist_2T diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs index 472addb34a5..1e38c8199d1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Dist_RT/T_Dist_RTRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(T_Dist_RTPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action t_Dist_RT diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs index d1b69937c2e..b2ad8c8e7cd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv/T_InvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(T_InvPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action t_Inv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs index 049551d7033..85aa56e6228 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/T_Inv_2T/T_Inv_2TRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(T_Inv_2TPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action t_Inv_2T diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs index 9dff119c831..245e1532491 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tan/TanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TanPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action tan diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs index fcf01b24e8b..c12bcd53937 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Tanh/TanhRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TanhPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action tanh diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs index 77d43108a42..cee3d0f82e8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillEq/TbillEqRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TbillEqPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action tbillEq diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs index 78c8bb4a282..24f56d8e8d3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillPrice/TbillPriceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TbillPricePostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action tbillPrice diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs index ec9f7541afc..5c019a6f89b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TbillYield/TbillYieldRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TbillYieldPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action tbillYield diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs index 65d8db2d071..05e94d39eb9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Text/TextRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TextPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action text diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs index 3b3a5db6959..931ff017e8b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Time/TimeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TimePostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action time diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs index a5ab289ccbd..738898421f9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Timevalue/TimevalueRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TimevaluePostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action timevalue diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs index 42e60c9d270..0f4b7f9f9c3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Today/TodayRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action today diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs index ee75790af94..22c72080b7a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trim/TrimRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TrimPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action trim diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs index 413836fbe96..feed56e672c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TrimMean/TrimMeanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TrimMeanPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action trimMean diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs index 171a4b367b0..51d3198a710 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/True/TrueRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action true diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs index f19b10e36b2..02cfcad22ea 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Trunc/TruncRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TruncPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action trunc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs index ffb0294fc37..557eb62346f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/TypeNamespace/TypeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TypePostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action type diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs index d9ada612081..765df18607e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unichar/UnicharRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UnicharPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action unichar diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs index ffe95e9d5f5..b2c42ae1a58 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Unicode/UnicodeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UnicodePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action unicode diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs index 5c8cd2eae86..71ff8110317 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Upper/UpperRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpperPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action upper diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs index 5546b8480b2..9cf0fb1d502 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Usdollar/UsdollarRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UsdollarPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action usdollar diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs index 7df563b3584..f03674b31f9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Value/ValueRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValuePostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action value diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs index f0d1f2fd4a1..ca886521637 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarA/VarARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(VarAPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action varA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs index f5588e59c85..a90f40e649d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/VarPA/VarPARequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(VarPAPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action varPA diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs index 87e18c50cff..8ec545401d1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_P/Var_PRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Var_PPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action var_P diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs index 1004364af19..614a9ef7a3f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Var_S/Var_SRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Var_SPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action var_S diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs index 89eedfdc8a7..fc1c1730cd5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vdb/VdbRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(VdbPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action vdb diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs index a997b79d064..b246ad676cf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Vlookup/VlookupRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(VlookupPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action vlookup diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs index 9f023b3b70e..eac187a6979 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WeekNum/WeekNumRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WeekNumPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action weekNum diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs index 7db3f141594..3bff0dad5aa 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weekday/WeekdayRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WeekdayPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action weekday diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs index 95e97f6e25f..69eac982755 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Weibull_Dist/Weibull_DistRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Weibull_DistPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action weibull_Dist diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs index fa9b30f609e..c39f2e96333 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay/WorkDayRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WorkDayPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action workDay diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs index 4b93e9ef38e..9c2744b76d2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/WorkDay_Intl/WorkDay_IntlRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WorkDay_IntlPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action workDay_Intl diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs index 4da2fd667d7..ffb6ce02c4d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xirr/XirrRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(XirrPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action xirr diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs index 32726292b46..815361f5a62 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xnpv/XnpvRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(XnpvPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action xnpv diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs index 80e6cc69be3..ce5ed044f93 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Xor/XorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(XorPostRequestBody body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action xor diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs index c5f13462a95..d3c3443c0dd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Year/YearRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(YearPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action year diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs index 31a86480285..52309afbc60 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YearFrac/YearFracRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(YearFracPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action yearFrac diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs index 92ac5958c6f..f2215a32fa2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Yield/YieldRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(YieldPostRequestBody body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action yield diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs index b3dd03a72b5..aa01e042c5d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldDisc/YieldDiscRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(YieldDiscPostRequestBody bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action yieldDisc diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs index 66091f784b3..fa8789534cd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/YieldMat/YieldMatRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(YieldMatPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action yieldMat diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs index cb16cc81782..4802456e4bd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Functions/Z_Test/Z_TestRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(Z_TestPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFunctionResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action z_Test diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs index d850d866541..90738bbff34 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs index 523c9f929b8..d068612dc58 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddFormulaLocalPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs index c4970532586..dcc905faa1b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs index 356c0bbbba4..63cba8b1b35 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs index 87d2fc92d0c..fedeff8935e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/WorkbookNamedItemItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of nameditem object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of nameditem object. @@ -97,7 +97,7 @@ public async Task PatchAsync(WorkbookNamedItem body, Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property names for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs index 574384cb532..e0cb9afb7b5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/Item/Worksheet/WorksheetRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs index fb16460344b..e10da62bc1a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Names/NamesRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookNamedItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to names for drives @@ -90,7 +90,7 @@ public async Task PostAsync(WorkbookNamedItem body, Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of nameditem objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs index 946f9f22a06..d31d3b3117f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs index 610520449d9..ff1ee288f37 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/Item/WorkbookOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in drives @@ -86,7 +86,7 @@ public async Task PatchAsync(WorkbookOperation body, Action(requestInfo, WorkbookOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs index 10ae41468aa..f6ed5d737c6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for drives @@ -79,7 +79,7 @@ public async Task PostAsync(WorkbookOperation body, Action(requestInfo, WorkbookOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Meaningless if this url is called independently. This request is part of all async requests for excel. This is used to retrieve the status of a workbookOperation object. Currently not all requests support async. Take Create session request as an example. Issue an async Create session request, follow the documentation and you may get status code 202 Accepted, async operation starts from here and you can find the url this document required from the response header, from the location part. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs index 925f71e3ce2..d31f12f50bb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/RefreshSession/RefreshSessionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Use this API to refresh an existing workbook session. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs index 534c78a5ef4..1ba5c97d74a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/SessionInfoResourceWithKey/SessionInfoResourceWithKeyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookSessionInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookSessionInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function sessionInfoResource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs index 1c48343e40a..9bee9f4509c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/TableRowOperationResultWithKey/TableRowOperationResultWithKeyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function tableRowOperationResult diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs index 3dc91afd41a..f51c13da4a2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action add diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs index 4dc8ffe892f..2fce9083076 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs index 36d72aa0e69..a36f580deaa 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Clears all the filters currently applied on the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs index 281a153c27f..1dcfd9f1858 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a new column to the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs index be7931b2a6c..a08bc4669cf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ColumnsRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableColumnCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumnCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -95,7 +95,7 @@ public async Task PostAsync(WorkbookTableColumn body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of tablecolumn objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs index af8df47ba06..3ea4069e0a0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index 91c53a6285f..b86e6571606 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the data body of the column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs index 65ccb6c97a9..95795d784de 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ApplyPostRequestBody body, Action /// Apply the given filter criteria on the given column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs index bb8543bc3fe..c2b203a5800 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyBottomItemsFilterPostRequestBody body, Action /// Invoke action applyBottomItemsFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs index 80333712bb8..eff61d5f4a3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyBottomPercentFilterPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action applyBottomPercentFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs index fbcdea55093..ebd84b8f0a1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyCellColorFilterPostRequestBody body, Action /// Invoke action applyCellColorFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs index b050da8f1d7..0681d58e609 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyCustomFilterPostRequestBody body, Action /// Invoke action applyCustomFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs index 34af6761f45..ccf54e590a0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyDynamicFilterPostRequestBody body, Action /// Invoke action applyDynamicFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs index 0ebaa322a58..d3def0b9ed9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyFontColorFilterPostRequestBody body, Action /// Invoke action applyFontColorFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs index 7b8ca2b2b02..8ad5ba73271 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyIconFilterPostRequestBody body, Action /// Invoke action applyIconFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs index 4cd986fbb55..cd4efd895a7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyTopItemsFilterPostRequestBody body, Action /// Invoke action applyTopItemsFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs index b2910f08f2f..9b30147bc31 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyTopPercentFilterPostRequestBody body, Action /// Invoke action applyTopPercentFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs index b217450e82c..e47e2bdacae 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyValuesFilterPostRequestBody body, Action /// Invoke action applyValuesFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs index 5e3b071e37b..a33241e0ed3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the filter on the given column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs index 9bfbb6815ba..204f18b4dfd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// Retrieve the filter applied to the column. Read-only. @@ -124,7 +124,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property filter in drives @@ -145,7 +145,7 @@ public async Task PatchAsync(WorkbookFilter body, Action(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property filter for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 8c97f0b74ca..b513a812fc4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the header row of the column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs index bf5f2812f13..5529225ed97 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the entire column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index 3c8f6f77549..a402dd08af9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the totals row of the column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs index 1c93ee71d40..684a7de732c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of tablecolumn object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of tablecolumn object. @@ -113,7 +113,7 @@ public async Task PatchAsync(WorkbookTableColumn body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes the column from the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index f0dd965376e..d9b515e9ef5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs index fc45e2054fa..47e56eb1833 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Converts the table into a normal range of cells. All data is preserved. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index 488e3da15e0..520260fc4bd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the data body of the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index c9030c28c1f..cf798bf3dfb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with header row of the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs index 7f7d22355ce..d9bb98ffa30 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/RangeNamespace/RangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the range object associated with the entire table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs index 2a98bfa9abc..c357bb5aaf6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reapplies all the filters currently on the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs index 21073c0d5e1..12546839bf0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs index 4981f8628a3..a1746d20b11 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs index 7f8ba06af7f..04b1b896aa3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function range diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs index d8370cf32e4..37b6fae082e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of tablerow object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of tablerow object. @@ -93,7 +93,7 @@ public async Task PatchAsync(WorkbookTableRow body, Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes the row from the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 69e12b78f4c..3aed8c337fc 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs index 1b077cf9e3a..f98d4a2321f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Rows/RowsRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableRowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -95,7 +95,7 @@ public async Task PostAsync(WorkbookTableRow body, Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of tablerow objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs index 912d0100a2c..4b34c6f5d56 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ApplyPostRequestBody body, Action /// Perform a sort operation. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs index 8c115539fc9..2a4f5be1e51 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs index 9c8ab0616d5..17764381eaf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reapplies the current sorting parameters to the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs index 962770b07f6..003ff90e62a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Sort/SortRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of tablesort object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sort in drives @@ -101,7 +101,7 @@ public async Task PatchAsync(WorkbookTableSort body, Action(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sort for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index 803edc7b7bf..7e1bcd1b72d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with totals row of the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs index 6614a918890..143fe5488cf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/WorkbookTableItemRequestBuilder.cs @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of table object. @@ -121,7 +121,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of table object. @@ -143,7 +143,7 @@ public async Task PatchAsync(WorkbookTable body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs index 6f41eeef760..7577323ad4a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/Item/Worksheet/WorksheetRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The worksheet containing the current table. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index c046feaa840..5dd72397753 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs index 6addb81088e..e5c1c294091 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Tables/TablesRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -94,7 +94,7 @@ public async Task PostAsync(WorkbookTable body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of table objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs index 4c68dcd86a1..0fa15ab82fa 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/WorkbookRequestBuilder.cs @@ -97,7 +97,7 @@ public async Task DeleteAsync(Action /// For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. @@ -116,7 +116,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Workbook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Workbook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property workbook in drives @@ -137,7 +137,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Workbook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Workbook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the sessionInfoResource method. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs index 56cd4d9108c..2d891bde20f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a new worksheet to the workbook. The worksheet will be added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs index e85c22eb0a1..cd3346574b8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs index 26231e46050..c0dea681085 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/CellWithRowWithColumn/CellWithRowWithColumnRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function cell diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs index 1b3bae850e0..f80916e0d41 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Creates a new chart. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs index 324b415bbcf..40fc579726a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ChartsRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -104,7 +104,7 @@ public async Task PostAsync(WorkbookChart body, Action(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of chart objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs index 6ef546ac67a..d7212e52f47 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs index edc45e38b2e..0446c3dbc19 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/AxesRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Represents chart axes. Read-only. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxes.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxes.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property axes in drives @@ -100,7 +100,7 @@ public async Task PatchAsync(WorkbookChartAxes body, Action(requestInfo, WorkbookChartAxes.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxes.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property axes for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs index d0fe007ff6f..4acd0777c71 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/CategoryAxisRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Represents the category axis in a chart. Read-only. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property categoryAxis in drives @@ -105,7 +105,7 @@ public async Task PatchAsync(WorkbookChartAxis body, Action(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property categoryAxis for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs index ecd28993de8..a357eee440c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartfont object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartfont object. @@ -87,7 +87,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs index 0e7ad19507d..de5a9520fd4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of a chart object, which includes line and font formatting. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartAxisFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs index 91f0f6d96a0..47f80853665 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs index 50c40f6f753..a526ad3f4d3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartlineformat object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartlineformat object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs index a2521cea6a1..11c2f359074 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart gridlines. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridline {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index d4c862016d5..a6c0d00ae14 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs index 970e9e9a5f5..253b0b3faed 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents chart line formatting. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property line in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs index dfdc4fc3bbd..52263557186 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property majorGridlines in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridlines body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property majorGridlines for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs index 125f155b924..b7f16d05989 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart gridlines. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridline {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 0907b326820..21fac1a2a4d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs index 7d66988de6f..a9e66c1f7bc 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents chart line formatting. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property line in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs index 8509b03bdfe..9b584c3f4b9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartgridlines object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartgridlines object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartGridlines body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property minorGridlines for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs index a569c41f416..41fc8ff67e4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property font in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs index 063351378bc..07f25fdf833 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart axis title. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartAxisTitl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs index e3052fba853..e81ea919ed7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/CategoryAxis/Title/TitleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartaxistitle object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartaxistitle object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartAxisTitle body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property title for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs index 0abb7acb1a5..c34023eed54 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartfont object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartfont object. @@ -87,7 +87,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs index 317b215caea..a32e17d4774 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of a chart object, which includes line and font formatting. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartAxisFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs index d13ff206f57..4532dfffb44 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs index 8350d0a2431..94e2523a4c7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartlineformat object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartlineformat object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs index 1f9d25167f5..18b3db25301 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart gridlines. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridline {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 6a9f78f6ed2..466adf21118 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs index c0d5e478997..df8d6ae315e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents chart line formatting. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property line in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs index 8c0d122ffce..69a38050639 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property majorGridlines in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridlines body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property majorGridlines for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs index 8612c73f538..a00cad379b5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart gridlines. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridline {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 0dc9f2fd889..5afa9d3afed 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs index 9d27a0ecb54..ffc743fad17 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents chart line formatting. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property line in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs index 3c586da81ca..d0eb6b053cb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartgridlines object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartgridlines object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartGridlines body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property minorGridlines for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs index 7f69b279da5..3eb4b9a89e3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/SeriesAxisRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Represents the series axis of a 3-dimensional chart. Read-only. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property seriesAxis in drives @@ -105,7 +105,7 @@ public async Task PatchAsync(WorkbookChartAxis body, Action(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property seriesAxis for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs index e5805c3a79e..a66b7fd04c3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property font in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs index 04571828d10..e6a54745822 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart axis title. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartAxisTitl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs index 60977586af3..a7a196767d7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/SeriesAxis/Title/TitleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartaxistitle object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartaxistitle object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartAxisTitle body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property title for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs index 346f1617d25..0eea75192fb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartfont object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartfont object. @@ -87,7 +87,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs index a89dfa0db0a..d5fc656e3c7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of a chart object, which includes line and font formatting. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartAxisFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs index 86f313a0863..994a2a50c07 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs index 16819c1e4dd..f2b9910f144 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartlineformat object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartlineformat object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs index 15ecdbaa3c1..a51728ddd10 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart gridlines. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridline {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index 55dbd8886c4..2786f17c69c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs index 14482498b05..1331e2b3a0d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents chart line formatting. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property line in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs index ac00746961b..416922f33a5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MajorGridlines/MajorGridlinesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Returns a gridlines object that represents the major gridlines for the specified axis. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property majorGridlines in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridlines body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property majorGridlines for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs index cf69471217b..fd7ea0afa2c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart gridlines. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartGridline {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlinesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs index ad820cab440..73a496eb694 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs index 2f99531021c..c2e38935533 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents chart line formatting. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property line in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs index 702d3429abc..85dfc1bca15 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/MinorGridlines/MinorGridlinesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartgridlines object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartgridlines object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartGridlines body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartGridlines.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property minorGridlines for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs index 93992b6e43c..f4402328da9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the font attributes, such as font name, font size, color, etc. of chart axis title object. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property font in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs index 5920b66582e..272f01986dd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of chart axis title. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartAxisTitl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs index 00402aec23a..6734c29230e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/Title/TitleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartaxistitle object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartaxistitle object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartAxisTitle body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxisTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property title for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs index c7f0439cb55..ff2545d2654 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Axes/ValueAxis/ValueAxisRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartaxis object. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartaxis object. @@ -107,7 +107,7 @@ public async Task PatchAsync(WorkbookChartAxis body, Action(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAxis.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property valueAxis for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs index bc653a95dda..43c9d0b7173 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/DataLabelsRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartdatalabels object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartDataLabels.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartDataLabels.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartdatalabels object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartDataLabels bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartDataLabels.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartDataLabels.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property dataLabels for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs index 4b000f49083..67b1f63384b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the fill color of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs index 157fcef41bf..8661c987a67 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/FillRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the fill format of the current chart data label. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fill in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartFill body, Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fill for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 5fe7c98ef84..d8ab78dfa55 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetSolidColorPostRequestBody body, Action /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs index a0617d11773..7adc410532e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the font attributes (font name, font size, color, etc.) for a chart data label. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property font in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs index 0533ad14a87..bcbf8122243 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/DataLabels/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the format of chart data labels, which includes fill and font formatting. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartDataLabelFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartDataLabelFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartDataLabe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartDataLabelFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartDataLabelFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs index a1890b610d1..ee71186195d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the fill color of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs index 5833073d621..a3b642787f6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/FillRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the fill format of an object, which includes background formatting information. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fill in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartFill body, Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fill for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 05cf62e1689..57eaba8d16f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetSolidColorPostRequestBody body, Action /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs index 833ba78174b..54e055f1b0e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property font in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs index 80615f3b46f..d220161fb28 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Encapsulates the format properties for the chart area. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartAreaFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAreaFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartAreaFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAreaFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartAreaFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs index a8f12f56701..6191abd3431 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Image/ImageRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, ImageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function image diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs index e377b0be886..7af5b7007d8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidth/ImageWithWidthRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, ImageWithWidthResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImageWithWidthResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function image diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs index c5ba6f04f9e..da8976cbc29 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeight/ImageWithWidthWithHeightRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, ImageWithWidthWithHeightResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImageWithWidthWithHeightResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function image diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs index cbcf0f155e2..d2901ed9f87 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/ImageWithWidthWithHeightWithFittingMode/ImageWithWidthWithHeightWithFittingModeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ImageWithWidthWithHeightWithFittingModeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ImageWithWidthWithHeightWithFittingModeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function image diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs index fdd4249977b..200e9d7fad7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the fill color of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs index 18f395de68e..52a58feb94a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/FillRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the fill format of an object, which includes background formating information. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fill in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartFill body, Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fill for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 4a9a936e077..a0fd7476197 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetSolidColorPostRequestBody body, Action /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs index 4fc1f2f00a9..c0f481e155f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the font attributes such as font name, font size, color, etc. of a chart legend. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property font in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs index a9d59fd28e5..c561694e6be 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of a chart legend, which includes fill and font formatting. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLegendFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLegendFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartLegendForma {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLegendFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLegendFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs index d959af2a44c..e73234aa7c3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Legend/LegendRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartlegend object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLegend.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLegend.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartlegend object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartLegend body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLegend.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLegend.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property legend for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs index ac24e004e20..72abba6c6ad 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs index 93c87c2def0..cf280fbf5d6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the fill color of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs index 1c1368c2f71..5fb6a64ded0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/FillRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the fill format of a chart series, which includes background formating information. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fill in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartFill body, Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fill for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 71296d86856..d6044045c20 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetSolidColorPostRequestBody body, Action /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs index 6932a91f6ed..db39c4c4b78 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of a chart series, which includes fill and line formatting. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartSeriesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeriesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartSeriesForma {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeriesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeriesFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs index 74fac433e58..8e2d347a1ef 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the line format of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs index 279586ef2e5..43513389a2b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Format/Line/LineRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents line formatting. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property line in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartLineFormat bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartLineFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property line for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs index ef33fff35fa..5153791de5b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs index 954a6d0e1e6..69107a1e073 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the fill color of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs index f69358275f9..58d2c473165 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/FillRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the fill format of a chart, which includes background formating information. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fill in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartFill body, Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fill for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index 17ff15fe18d..04e7c81a55a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetSolidColorPostRequestBody body, Action /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs index f43e064b3cf..bfaa6fd3296 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/Format/FormatRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Encapsulates the format properties chart point. Read-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartPointFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPointFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(WorkbookChartPointFormat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPointFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPointFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs index d886898cdbb..9a05c0588af 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/Item/WorkbookChartPointItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartpoint object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property points in drives @@ -91,7 +91,7 @@ public async Task PatchAsync(WorkbookChartPoint body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property points for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 64f5c47eae9..0dd73d01199 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs index 293fffdb284..53419730fb0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/Points/PointsRequestBuilder.cs @@ -43,8 +43,8 @@ public PointsRequestBuilder(Dictionary pathParameters, IRequestA public PointsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of chartpoint objects. - /// Find more info here + /// Retrieve a list of chartpoints objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartPointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -90,10 +90,10 @@ public async Task PostAsync(WorkbookChartPoint body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartPoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of chartpoint objects. + /// Retrieve a list of chartpoints objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -154,7 +154,7 @@ public PointsRequestBuilder WithUrl(string rawUrl) { return new PointsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of chartpoint objects. + /// Retrieve a list of chartpoints objects. /// public class PointsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs index 5942528fb1c..019205dfef8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/Item/WorkbookChartSeriesItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chartseries object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of chartseries object. @@ -97,7 +97,7 @@ public async Task PatchAsync(WorkbookChartSeries body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property series for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index b1c6cf68116..13a5afbd3c7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs index 46fe3478156..bd5e80dad7f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Series/SeriesRequestBuilder.cs @@ -44,7 +44,7 @@ public SeriesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas } /// /// Retrieve a list of chartseries objects. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartSeriesCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeriesCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -90,7 +90,7 @@ public async Task PostAsync(WorkbookChartSeries body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartSeries.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of chartseries objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs index ea803e13960..97261c99778 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetData/SetDataRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetDataPostRequestBody body, Action /// Resets the source data for the chart. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs index 779dc85b5c3..d445f054056 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/SetPosition/SetPositionRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetPositionPostRequestBody body, Action /// Positions the chart relative to cells on the worksheet. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs index 1f36affe591..794eb07e5d7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the fill color of a chart element. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs index 5d5291badd0..095d1c8eef8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/FillRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the fill format of an object, which includes background formatting information. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fill in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartFill body, Action(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFill.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fill for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs index d10e820456d..69f48a0c9b9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Fill/SetSolidColor/SetSolidColorRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetSolidColorPostRequestBody body, Action /// Sets the fill formatting of a chart element to a uniform color. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs index 58d63d382d9..739288f97a4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/Font/FontRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property font in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(WorkbookChartFont body, Action(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartFont.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property font for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs index 0ebb8095fef..9195249249f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/Format/FormatRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents the formatting of a chart title, which includes fill and font formatting. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property format in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookChartTitleFormat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartTitleFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property format for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs index 98c7cec41ae..3354500ab49 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Title/TitleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of charttitle object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChartTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of charttitle object. @@ -92,7 +92,7 @@ public async Task PatchAsync(WorkbookChartTitle body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookChartTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChartTitle.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property title for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs index 424ec283776..06ea43885a0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/WorkbookChartItemRequestBuilder.cs @@ -99,7 +99,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chart object. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the image method. @@ -171,7 +171,7 @@ public async Task PatchAsync(WorkbookChart body, Action(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes the chart object. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs index 938db8f29b4..50e11afd639 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/Item/Worksheet/WorksheetRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The worksheet containing the current chart. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index a005cbbed36..a47ddc43f04 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs index eaa0ec8c099..94672291dc3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Charts/ItemWithName/ItemWithNameRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookChart.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function item diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs index 7f45602a788..cd4850288e8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs index f5c9b5d7d28..bc0ab9e8a17 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/AddFormulaLocal/AddFormulaLocalRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddFormulaLocalPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a new name to the collection of the given scope using the user's locale for the formula. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs index 46a243aca08..a8720661810 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs index fa7ba1132e3..6e738bbb58a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/RangeNamespace/RangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns the range object that is associated with the name. Throws an exception if the named item's type is not a range. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs index e9c321fb9f9..e6fcd4e58f6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/WorkbookNamedItemItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Returns collection of names that are associated with the worksheet. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property names in drives @@ -95,7 +95,7 @@ public async Task PatchAsync(WorkbookNamedItem body, Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property names for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs index 273dd49c88d..f24584cea1a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/Item/Worksheet/WorksheetRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns the worksheet on which the named item is scoped to. Available only if the item is scoped to the worksheet. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs index 7a9e3e271e9..aaa2cd1297f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Names/NamesRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookNamedItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to names for drives @@ -90,7 +90,7 @@ public async Task PostAsync(WorkbookNamedItem body, Action(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookNamedItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of named item associated with the worksheet. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs index c61c9e12355..d5baebd7fce 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs index 2abb664f382..102616dc34b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Refresh/RefreshRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Refreshes the PivotTable. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs index 4cc592cdca1..231988ea147 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/WorkbookPivotTableItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of workbookPivotTable object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookPivotTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookPivotTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pivotTables in drives @@ -96,7 +96,7 @@ public async Task PatchAsync(WorkbookPivotTable body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookPivotTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookPivotTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pivotTables for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs index 5098b56d8d2..64129eb35ba 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/Item/Worksheet/WorksheetRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The worksheet containing the current PivotTable. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs index 6205dfea34d..b5af767206b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/PivotTablesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookPivotTableCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookPivotTableCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to pivotTables for drives @@ -85,7 +85,7 @@ public async Task PostAsync(WorkbookPivotTable body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookPivotTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookPivotTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of workbookpivottable objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs index e4a4ed236d0..a3cfe699572 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/PivotTables/RefreshAll/RefreshAllRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Refreshes the PivotTable within a given worksheet. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs index 5ad8fcfb2e6..272346bdea6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Protect/ProtectRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ProtectPostRequestBody body, Action /// Protect a worksheet. It throws if the worksheet has been protected. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs index 5e23ce24846..d361b71cbd0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/ProtectionRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of worksheetprotection object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheetProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheetProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property protection in drives @@ -96,7 +96,7 @@ public async Task PatchAsync(WorkbookWorksheetProte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheetProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheetProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property protection for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs index de6f5637daf..688c1467008 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Protection/Unprotect/UnprotectRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unprotect a worksheet diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs index 58db9c95c11..ade2994b0a5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeNamespace/RangeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function range diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs index a2282637d5b..6b433b5e271 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/RangeWithAddress/RangeWithAddressRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function range diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs index a68b4bad3df..4fe1a2e990c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action add diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs index 7b1f2b86b40..f9affab29c9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs index bb903d169c9..e5a4d9f3448 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ClearFilters/ClearFiltersRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Clears all the filters currently applied on the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs index 7f41e34c747..c8b5bcfb7ca 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a new column to the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs index 5f7a30f1194..8fb2a086462 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ColumnsRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableColumnCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumnCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -95,7 +95,7 @@ public async Task PostAsync(WorkbookTableColumn body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of tablecolumn objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs index 1ba21bdb698..7223513892b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index 819ae70c00f..ac2884517d1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the data body of the column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs index 2ac14e5728c..da2b39eb570 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Apply/ApplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ApplyPostRequestBody body, Action /// Apply the given filter criteria on the given column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs index 9f9da5d56dd..985b2c0b3f7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomItemsFilter/ApplyBottomItemsFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyBottomItemsFilterPostRequestBody body, Action /// Invoke action applyBottomItemsFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs index c6a0e1324bb..1ca8eda8c08 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyBottomPercentFilter/ApplyBottomPercentFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyBottomPercentFilterPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action applyBottomPercentFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs index 9701d5a7bc0..c7c0c0f078e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCellColorFilter/ApplyCellColorFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyCellColorFilterPostRequestBody body, Action /// Invoke action applyCellColorFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs index d72bdca51bb..bc705a83bdf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyCustomFilter/ApplyCustomFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyCustomFilterPostRequestBody body, Action /// Invoke action applyCustomFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs index 0ad1cf503e9..fc02ae2c69c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyDynamicFilter/ApplyDynamicFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyDynamicFilterPostRequestBody body, Action /// Invoke action applyDynamicFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs index dc94b3a2592..c8e1886604a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyFontColorFilter/ApplyFontColorFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyFontColorFilterPostRequestBody body, Action /// Invoke action applyFontColorFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs index 0d5b0acd00a..05d03619d88 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyIconFilter/ApplyIconFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyIconFilterPostRequestBody body, Action /// Invoke action applyIconFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs index a239a53c0a1..3ab941cc46b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopItemsFilter/ApplyTopItemsFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyTopItemsFilterPostRequestBody body, Action /// Invoke action applyTopItemsFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs index e2c9fdbceeb..3a014df3d3f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyTopPercentFilter/ApplyTopPercentFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyTopPercentFilterPostRequestBody body, Action /// Invoke action applyTopPercentFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs index d11b5aa31ce..4fe71599dc2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/ApplyValuesFilter/ApplyValuesFilterRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyValuesFilterPostRequestBody body, Action /// Invoke action applyValuesFilter diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs index d503e44698f..c7887a36be5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clear the filter on the given column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs index 5c146918efb..2020028a764 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/Filter/FilterRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// Retrieve the filter applied to the column. Read-only. @@ -124,7 +124,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property filter in drives @@ -145,7 +145,7 @@ public async Task PatchAsync(WorkbookFilter body, Action(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookFilter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property filter for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index 298a52823ea..b9008264ca0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the header row of the column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs index c8bbb6d7ad0..2b15d740601 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/RangeNamespace/RangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the entire column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index 1b0fca53490..ce562a7a08e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the totals row of the column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs index 2a119acc0d3..f24b8fe0ff8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/Item/WorkbookTableColumnItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of tablecolumn object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of tablecolumn object. @@ -113,7 +113,7 @@ public async Task PatchAsync(WorkbookTableColumn body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes the column from the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 098e61d87e9..447f807ebf7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Columns/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableColumn.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs index 7248be18786..0dbb11fa264 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ConvertToRange/ConvertToRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Converts the table into a normal range of cells. All data is preserved. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs index 129e513a006..f4690401074 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/DataBodyRange/DataBodyRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with the data body of the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs index e39d65d5ea9..19ea5abc4ab 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/HeaderRowRange/HeaderRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with header row of the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs index 8d359546833..7990523a8e2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/RangeNamespace/RangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the range object associated with the entire table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs index 12ff5fd59f1..9677125cd37 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/ReapplyFilters/ReapplyFiltersRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reapplies all the filters currently on the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs index c226cf44bd3..f0388198da5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Add/AddRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds rows to the end of the table. Note that the API can accept multiple rows data using this API. Adding one row at a time could lead to performance degradation. The recommended approach would be to batch the rows together in a single call rather than doing single row insertion. For best results, collect the rows to be inserted on the application side and perform single rows add operation. Experiment with the number of rows to determine the ideal number of rows to use in single API call. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs index 5e920b79edc..a1b38b97daf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CountResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function count diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs index 94e8b3e67e4..426804edfaa 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/RangeNamespace/RangeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function range diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs index 877f9913408..5b78e297f6c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/Item/WorkbookTableRowItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of tablerow object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of tablerow object. @@ -93,7 +93,7 @@ public async Task PatchAsync(WorkbookTableRow body, Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes the row from the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index f81d8d98f59..77e743600a8 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs index 32f13fc34cb..614f5c4fd94 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Rows/RowsRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableRowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -95,7 +95,7 @@ public async Task PostAsync(WorkbookTableRow body, Action(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableRow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of tablerow objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs index 0b6d5dfee43..d2bfa1c6e45 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Apply/ApplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ApplyPostRequestBody body, Action /// Perform a sort operation. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs index f2c8e1f46e2..91aac3d3a17 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Clear/ClearRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Clears the sorting that is currently on the table. While this doesn't modify the table's ordering, it clears the state of the header buttons. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs index 63dd5711c15..37cfc19af3f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/Reapply/ReapplyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reapplies the current sorting parameters to the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs index e590d18019b..450b967a438 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Sort/SortRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of tablesort object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sort in drives @@ -101,7 +101,7 @@ public async Task PatchAsync(WorkbookTableSort body, Action(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableSort.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sort for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs index 868754efe69..88d3e544008 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/TotalRowRange/TotalRowRangeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets the range object associated with totals row of the table. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs index d0a1ea64356..798a22ee23b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/WorkbookTableItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// Collection of tables that are part of the worksheet. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tables in drives @@ -140,7 +140,7 @@ public async Task PatchAsync(WorkbookTable body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tables for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs index a1dbe18af73..60aadacb21e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/Item/Worksheet/WorksheetRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The worksheet containing the current table. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs index 070a4f91129..4aefd517a1e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/ItemAtWithIndex/ItemAtWithIndexRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function itemAt diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs index 34bf2dc7732..2b28356b652 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/Tables/TablesRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookTableCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTableCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the itemAt method. @@ -94,7 +94,7 @@ public async Task PostAsync(WorkbookTable body, Action(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookTable.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of table objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs index 0839799d0f8..d04f317da66 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRange/UsedRangeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usedRange diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs index a0c3ff4c9fe..9202aac794f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/UsedRangeWithValuesOnly/UsedRangeWithValuesOnlyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookRange.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usedRange diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs index 4f1a34c0c94..17f76830b9c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/Item/WorkbookWorksheetItemRequestBuilder.cs @@ -94,7 +94,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of worksheet object. @@ -114,7 +114,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of worksheet object. @@ -136,7 +136,7 @@ public async Task PatchAsync(WorkbookWorksheet body, Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the range method. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs index bed55245a78..40fdde80f2b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/Item/Workbook/Worksheets/WorksheetsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, WorkbookWorksheetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to worksheets for drives @@ -85,7 +85,7 @@ public async Task PostAsync(WorkbookWorksheet body, Action(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkbookWorksheet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of worksheet objects. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Items/ItemsRequestBuilder.cs index c3fd8781c3c..ebc1f590756 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Items/ItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to items for drives @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// All items contained in the drive. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index c4683d1a4f2..88339b92804 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 181a1671d0c..826979f4973 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs index 43a7f2c29af..a1a68e4878c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs index af528db5ac2..8525c791560 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 9e08124c691..80d821d30da 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of field definitions for this list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columns in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columns for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 226ee163e10..22f7577b756 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index dfc93e54b1e..88eb05bd2ce 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyPostRequestBody body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 43f29cc73d9..538190a28eb 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyFromContentTypeHubPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs index 6085297857c..aed991bc812 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/ContentTypesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to contentTypes for drives @@ -95,7 +95,7 @@ public async Task PostAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [contentType][contentType] resources in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs index 8dfc12f510a..5eb62f3fa89 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index 4ada231c3d1..60967449fee 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getCompatibleHubContentTypes diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index 8da9fe33b41..055944e8f0c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssociateWithHubSitesPostRequestBody body, Action /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index b141e57af62..ba84310efa6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parent contentType from which this content type is derived. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index fa4c5cf6c2a..3fceefcc648 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index 99e23a7ca4a..b894c81fdff 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index 997f6b73dfd..771509099b3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index 8819ca7d244..cf1d76fdde3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to columnLinks for drives @@ -79,7 +79,7 @@ public async Task PostAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of columns that are required by this content type. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index 401def6c93d..bb36bf42f62 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index 214a146a441..99da43b5a5b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of columns that are required by this content type. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columnLinks in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columnLinks for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index b0943e0ea28..2f532a7a225 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index a8f3f3f59f4..10c9cf675c9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index af9913de8ea..9bda05493dd 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index a1b8dfa33b2..c7cb7a2ff49 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index 7e4a202ff38..266071f2a4a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index ae06949d069..2321365be83 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. @@ -93,7 +93,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 64fe10eb86d..b53dbae4413 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index 8e6a564c30f..5f8590a1dd9 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// The collection of content types present in this list. @@ -114,7 +114,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contentTypes in drives @@ -135,7 +135,7 @@ public async Task PatchAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contentTypes for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index 6302fa66189..f0a066c93ba 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CopyToDefaultContentLocationPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index 6706e2fcacf..f2d15139953 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function isPublished diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs index f0c14380d48..77b0af0b95f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Publishes a [contentType][] present in the content type hub site. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index a28ecffca64..7a049d35fdc 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unpublish a [contentType][] from a content type hub site. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs index de6ad945ac4..5986e20aad3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 7b0bfe7f019..1725645a511 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Drive/DriveRequestBuilder.cs index a20ede5077d..a4975ab7460 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Drive/DriveRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs index ffeb00a7ec7..10ce61cd4b3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs index cc7c682d974..00b30ce5f09 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Analytics about the view activities that took place on this item. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 1e49cad8fd7..c81bbc3d214 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 862b5dbae50..bc8597b9d00 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs index f1eee7afb75..905a23cfa80 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs index 5ca76791734..d71f67dfac6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new version of a document set item in a list. @@ -81,7 +81,7 @@ public async Task PostAsync(DocumentSetVersion body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the versions of a document set item in a list. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs index 0d89adf7e80..8c9fd9f53bf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a documentSetVersion object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property documentSetVersions in drives @@ -97,7 +97,7 @@ public async Task PatchAsync(DocumentSetVersion body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a version of a document set in a list. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs index 7d22500c69f..1771bd3637e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs index 5c81bce3de7..c6a9f882579 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a document set version. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs index f8c2efb4ed8..2eb5e5e4475 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs index ee955fc313c..884410dca7b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs index 0bb1a0e5f52..cc55cf7410c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The values of the columns set on this list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties on a [listItem][]. @@ -86,7 +86,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index d03a6f627a7..3c7753a6ccf 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index 9f4289f9e56..2b3aa3b2e6c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 3165fdbb502..27626737123 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index c1749fb0414..7fc9515cc62 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs index ec62a555e68..583fbfb5ab6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/ListItemItemRequestBuilder.cs @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action /// Provides operations to call the getActivitiesByInterval method. @@ -119,7 +119,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property items in drives @@ -140,7 +140,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes an item from a [list][]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs index ad1351c21b0..c42a95a4219 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs index df576744022..ca74aacddd3 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs index ff18fc5e033..c263885443d 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a specific version of a ListItem. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in drives @@ -96,7 +96,7 @@ public async Task PatchAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index e7e5b9cdba1..66232c0870f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs index df5ee4f5870..83f163e0e8f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for drives @@ -80,7 +80,7 @@ public async Task PostAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/ItemsRequestBuilder.cs index 6de8488baec..8c5a165dca4 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Items/ItemsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [listItem][] in a [list][]. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [items][item] in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 9b3eb0cc560..72e7f95921f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index d6151fa2c63..5aa49f27232 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/ListRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/ListRequestBuilder.cs index f7300207a24..cda52039370 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/ListRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/ListRequestBuilder.cs @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// For drives in SharePoint, the underlying document library list. Read-only. Nullable. @@ -104,7 +104,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property list in drives @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property list for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs index c9000f85d16..ca09ad4085e 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index 7978f91b34b..53b486e884f 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of long-running operations on the list. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in drives @@ -85,7 +85,7 @@ public async Task PatchAsync(RichLongRunningOperation {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs index 54d8b4a4280..6c359275d6a 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for drives @@ -79,7 +79,7 @@ public async Task PostAsync(RichLongRunningOperation b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of long-running operations on the list. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs index 52e7325f36b..8b2ee8c98b1 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index b8eb53b46b7..782b351970b 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index 1cf5dedf0f3..6e6c446daff 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The set of subscriptions on the list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property subscriptions in drives @@ -90,7 +90,7 @@ public async Task PatchAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property subscriptions for drives diff --git a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs index bc8332f294d..38e0a930ac6 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to subscriptions for drives @@ -79,7 +79,7 @@ public async Task PostAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The set of subscriptions on the list. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs index 7da92f8d473..3e3ec76e0d7 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Recent/RecentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, RecentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RecentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function recent diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Root/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Root/Content/ContentRequestBuilder.cs index e3ed536d7e1..a7d4db504a0 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Root/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Root/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Root/RootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Root/RootRequestBuilder.cs index c3568a5a2bd..2b0b8662376 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Root/RootRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Root/RootRequestBuilder.cs @@ -51,7 +51,7 @@ public RootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the metadata for a driveItem in a drive by file system path or ID.item-id is the ID of a driveItem. It may also be the unique ID of a SharePoint list item. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs index d1b8eff0092..7fbda923417 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/SearchWithQ/SearchWithQRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, SearchWithQResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SearchWithQResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function search diff --git a/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs index 35c50cf1d36..486b1d94162 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/SharedWithMe/SharedWithMeRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithMeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithMeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function sharedWithMe diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Special/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Special/Count/CountRequestBuilder.cs index 4e7740e6b44..65c0bd33691 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Special/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Special/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs index 2096ecbc521..343e3d45ee5 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs index 8db643fe475..8f92753ca4c 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Special/Item/DriveItemItemRequestBuilder.cs @@ -51,7 +51,7 @@ public DriveItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. diff --git a/src/Microsoft.Graph/Generated/Drives/Item/Special/SpecialRequestBuilder.cs b/src/Microsoft.Graph/Generated/Drives/Item/Special/SpecialRequestBuilder.cs index b27f4aef268..7015078acf2 100644 --- a/src/Microsoft.Graph/Generated/Drives/Item/Special/SpecialRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Drives/Item/Special/SpecialRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use the special collection to access a special folder by name. Special folders provide simple aliases to access well-known folders in OneDrive without the need to look up the folder by path (which would require localization), or reference the folder with an ID. If a special folder is renamed or moved to another location within the drive, this syntax will continue to find that folder. Special folders are automatically created the first time an application attempts to write to one, if it doesn't already exist. If a user deletes one, it is recreated when written to again. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs index 58dae16337e..f05512fdc64 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/ClassesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new educationClass object. @@ -86,7 +86,7 @@ public async Task PostAsync(EducationClass body, Action(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the educationClass objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Count/CountRequestBuilder.cs index c0036283098..217c04fedce 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Delta/DeltaRequestBuilder.cs index ca61f8355cb..b7959ca3942 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs index 388487b2c72..bcba2bc701d 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/AssignmentCategoriesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Creates a new educationCategory on an educationClass. Only teachers can perform this operation. @@ -86,7 +86,7 @@ public async Task PostAsync(EducationCategory body, Action(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of educationCategory objects. Only teachers can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs index 1e3f44d0e4a..2c77a162eb4 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs index ed7e042869c..0315b364074 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs index 9d211c7b816..f6d7e61bc14 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentCategories/Item/EducationCategoryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve an educationCategory object. Only teachers, students, and applications with application permissions can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignmentCategories in education @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationCategory body, Action(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an existing category. Only teachers can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs index a9da81dd589..4393e192ea4 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentDefaults/AssignmentDefaultsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an educationAssignmentDefaults object. These are the class-level assignment defaults respected by new assignments created in the class. Callers can continue to specify custom values on each assignment creation if they don't want the default behaviors. Only teachers can perform this operation. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentDefaults.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentDefaults.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationAssignmentDefaults object. Only teachers can update these settings. @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationAssignmentDef {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentDefaults.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentDefaults.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignmentDefaults for education diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs index da31d27b642..6be54993340 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/AssignmentSettings/AssignmentSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Specifies class-level assignments settings. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationAssignmentSettings object. Only teachers can update these settings. @@ -86,7 +86,7 @@ public async Task PatchAsync(EducationAssignmentSet {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignmentSettings for education diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs index c672a146131..386aea8a086 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/AssignmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new assignment. Only teachers in a class can create an assignment. Assignments start in the Draft state, which means that students will not see the assignment until publication. @@ -86,7 +86,7 @@ public async Task PostAsync(EducationAssignment body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of assignment objects. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application executing with application permissions can see all assignment objects for the class. Students can only see assignments that are assigned to them. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs index 5eda821c778..f58ae3e0624 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs index 9c010cd39d0..b7909d7624e 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs index 0d2926e0f89..8ad3deb89d7 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. @@ -91,7 +91,7 @@ public async Task PostAsync(EducationCategory body, Action(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs index 19543e5a6be..e4cc3a65f72 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs index 44231399e7a..54ae1a6140b 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs index 007739e9184..efa8a09339a 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index c685c3064ca..5ae1eb75637 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index 3d7d58c1823..4ec2a215161 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of an assignment. Only teachers, students, and applications with application permissions can perform this operation. Students can only see assignments assigned to them; teachers and applications with application permissions can see all assignments in a class. @@ -101,7 +101,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an educationAssignment object. Only teachers can perform this action. Alternatively, request to change the status of an assignment with publish action. Don't use a PATCH operation for this purpose. @@ -123,7 +123,7 @@ public async Task PatchAsync(EducationAssignment body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an existing assignment. Only teachers within a class can delete assignments. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs index e77528c6266..8e91cbd5c65 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Publish/PublishRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs index fa5167315a0..b2c5621b677 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs index f7e6b7da313..faab72da31b 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in education @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationAssignmentRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers cannot remove resources marked as 'distributeToStudents', after the assignment has been published to students. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs index 59afbaadebe..05fab952678 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationAssignmentReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs index 29bbdc2a3c2..4efbad4c976 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. @@ -88,7 +88,7 @@ public async Task PutAsync(ReferenceUpdate body, Action /// Remove an educationRubric from an educationAssignment. This method does not delete the rubric itself and can only be performed by teachers. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs index d0116853138..a4d087cc6d6 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. @@ -93,7 +93,7 @@ public async Task PatchAsync(EducationRubric body, Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an educationRubric from an educationAssignment. This method does not delete the rubric itself and can only be performed by teachers. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs index 826bb4fad4c..f5d09516d52 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 1b6a9d7a152..181e4bb3e31 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs index e0f35a628f2..8d8d13c12a3 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs index 4532dd6bce7..d39680c28e4 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. @@ -105,7 +105,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property submissions in education @@ -126,7 +126,7 @@ public async Task PatchAsync(EducationSubmission body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property submissions for education diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs index 28ce99d74a3..de0ee8f98a8 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs index d9dfe672a1e..4fa1c893086 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get outcomes from education @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationOutcome object. Only teachers can perform this operation. @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationOutcome body, Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a feedback resource from a submission. This can only be done by a teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs index d274254293f..49ef246acf7 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationOutcomeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcomeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationOutcome body, Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs index 08a09c3fffb..4948ded83f1 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs index aa9eabfaec8..84f4d73084a 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs index a2566145bf2..67780732883 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in education @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationSubmissionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource was not copied from the assignment but was added from the student, the resource is simply deleted. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs index cdce418d2bb..ec36537aa9c 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationSubmissionReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs index 09e3383596e..6df231b04da 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 5e943fbfde5..4d69d542cd5 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs index 1c4a7d51cfc..cd53d147d8e 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs index 093464fe782..92033333941 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs index 49e8aa02d31..f4648ab1cdc 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Note that teachers can leave notes in some resources. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property submittedResources in education @@ -86,7 +86,7 @@ public async Task PatchAsync(EducationSubmissionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property submittedResources for education diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs index 416085bde66..86d9285a7fb 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to submittedResources for education @@ -80,7 +80,7 @@ public async Task PostAsync(EducationSubmissionReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs index d67af4fc389..d86032d4ba4 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs index f1c5cc23a13..23d384b04ab 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to submissions for education @@ -80,7 +80,7 @@ public async Task PostAsync(EducationSubmission body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs index 3194b95d1e6..ab40de99b09 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/EducationClassItemRequestBuilder.cs @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action /// Retrieve a class from the system. A class is a universal group with a special property that indicates to the system that the group is a class. Group members represent the students; group admins represent the teachers in the class. If you're using the delegated token, the user will only see classes in which they are members. @@ -106,7 +106,7 @@ public async Task GetAsync(Action(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationClass object. @@ -128,7 +128,7 @@ public async Task PatchAsync(EducationClass body, Action(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an educationClass. Because a class is also a universal group, deleting a class deletes the group. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Group/GroupRequestBuilder.cs index cc9211cd141..17bceddc9b6 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Group/GroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The underlying Microsoft 365 group object. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs index 5324322f7eb..80b2a88f7bd 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs index 3c0c60b0ab2..fa9f6541bfc 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an educationUser from an educationClass. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/MembersRequestBuilder.cs index 4062296a1fe..b0f6374abe6 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieves the educationUser members of an educationClass. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs index c614020a805..5b17b7eacc2 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Members/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an educationUser member to an educationClass. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieves the educationUser members of an educationClass. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs index d0c6da3b922..c49c5ca1664 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs index 9445130a9c0..6608e7f92c2 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// All schools that this class is associated with. Nullable. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs index 8a229871c1d..1123bfef693 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Schools/SchoolsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of schools in which the class is taught. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs index fa8068d3798..093440dfaa2 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs index a3e749ab71a..33aa9cdd2c6 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove teacher from an educationClass. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs index b1bda5c2b8a..22646d3ceaa 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a teacher to a class. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieve a list teachers for a class. Delegated tokens must be members of the class to get the teacher list. diff --git a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs index 64a75f9754b..635148c4aad 100644 --- a/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Classes/Item/Teachers/TeachersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list teachers for a class. Delegated tokens must be members of the class to get the teacher list. diff --git a/src/Microsoft.Graph/Generated/Education/EducationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/EducationRequestBuilder.cs index 7b68662b6f6..5949e688291 100644 --- a/src/Microsoft.Graph/Generated/Education/EducationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/EducationRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update education @@ -86,7 +86,7 @@ public async Task PatchAsync(EducationRoot body, Action(requestInfo, EducationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get education diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs index d3802db815f..9bb0be7fc44 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/AssignmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for education @@ -85,7 +85,7 @@ public async Task PostAsync(EducationAssignment body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Count/CountRequestBuilder.cs index 6a0cbfe3fac..d20cd21289c 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs index 9601e5ae624..8bc7be6a9cc 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs index 8b4de0eff1e..990ce79e2d4 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/CategoriesRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. @@ -91,7 +91,7 @@ public async Task PostAsync(EducationCategory body, Action(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs index 2c41edbdaad..92895ddd868 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs index 8efc55495e5..0ebb822f798 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs index e50d80422ba..5da3667c99f 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 087289f3975..07a4435ed46 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index b4e1e900bb1..200b8dbb878 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -80,7 +80,7 @@ public async Task DeleteAsync(Action /// Assignments belonging to the user. @@ -99,7 +99,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in education @@ -120,7 +120,7 @@ public async Task PatchAsync(EducationAssignment body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for education diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs index 273c6436d5d..86ce64b2032 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Publish/PublishRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs index a70432d6286..c1464446f2e 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs index 62674206436..a3f0f52615b 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in education @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationAssignmentRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers cannot remove resources marked as 'distributeToStudents', after the assignment has been published to students. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs index 8c771dbecce..165b3d0c39e 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationAssignmentReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs index a2574d8e0db..0c0fb869ba6 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. @@ -88,7 +88,7 @@ public async Task PutAsync(ReferenceUpdate body, Action /// Remove an educationRubric from an educationAssignment. This method does not delete the rubric itself and can only be performed by teachers. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs index 7066ca219b8..b25079823c8 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Rubric/RubricRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. @@ -93,7 +93,7 @@ public async Task PatchAsync(EducationRubric body, Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an educationRubric from an educationAssignment. This method does not delete the rubric itself and can only be performed by teachers. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs index 3813a7258a5..1c5827d811f 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index d4ebfb68827..73c6f6ae199 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs index 482a7f0fc17..806119e6183 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs index de142cf496e..98ba812b61c 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. @@ -105,7 +105,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property submissions in education @@ -126,7 +126,7 @@ public async Task PatchAsync(EducationSubmission body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property submissions for education diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs index 6d17157071c..71b54be02b6 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs index c6149422c29..dcc46220f2f 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get outcomes from education @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationOutcome object. Only teachers can perform this operation. @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationOutcome body, Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a feedback resource from a submission. This can only be done by a teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs index de9b6bc6eff..6c7d1c66a38 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationOutcomeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcomeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationOutcome body, Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs index a8c1f2efc54..0b86a352c8e 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs index 9c4e475d644..ae152542c35 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs index 4931c16b330..cda8344a6f8 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in education @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationSubmissionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource was not copied from the assignment but was added from the student, the resource is simply deleted. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs index 03929b0e92f..c6c263ea874 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationSubmissionReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs index 6ea4dce94a4..b1a3f0d7fcc 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 5c0eca23808..2a42eee3c1a 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs index e12f6614255..9b95757f5c9 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs index e42f823ad31..d275f6496c5 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs index a72172be7ad..3558720bf98 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Note that teachers can leave notes in some resources. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property submittedResources in education @@ -86,7 +86,7 @@ public async Task PatchAsync(EducationSubmissionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property submittedResources for education diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs index d73cfbd6063..f18c6ac89a7 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to submittedResources for education @@ -80,7 +80,7 @@ public async Task PostAsync(EducationSubmissionReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs index da3a51ddd64..ada245b5f56 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs index fe193c24ac0..81d9f0afd6a 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to submissions for education @@ -80,7 +80,7 @@ public async Task PostAsync(EducationSubmission body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Classes/ClassesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Classes/ClassesRequestBuilder.cs index 41f7ff6ae2f..1a3ce9a5826 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Classes/ClassesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Classes/ClassesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the educationClass resources an educationUser is a member of. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Classes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Classes/Count/CountRequestBuilder.cs index 30ef43af9df..5b314f16545 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Classes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Classes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs index b51df7b983f..a36afed2bfe 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Classes/Item/EducationClassItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Classes to which the user belongs. Nullable. diff --git a/src/Microsoft.Graph/Generated/Education/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/MeRequestBuilder.cs index acfcd017d1a..c6fbb920f90 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/MeRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get me from education @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property me in education @@ -115,7 +115,7 @@ public async Task PatchAsync(EducationUser body, Action(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property me for education diff --git a/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs index 725b48169c3..db217d33614 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs index 9e4d4a8f67d..70c5b1489d0 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Rubrics/Item/EducationRubricItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric, but it cannot be updated. @@ -88,7 +88,7 @@ public async Task PatchAsync(EducationRubric body, Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an educationRubric object. Only teachers can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Rubrics/RubricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Rubrics/RubricsRequestBuilder.cs index c36abe845e9..d52cd1e4d58 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Rubrics/RubricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Rubrics/RubricsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationRubricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new educationRubric object. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationRubric body, Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of educationRubric objects. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Schools/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Schools/Count/CountRequestBuilder.cs index 8fd8ee779cc..cda0bb1756a 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Schools/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Schools/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs index 25d9d7b92ba..1bef186c26b 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Schools to which the user belongs. Nullable. diff --git a/src/Microsoft.Graph/Generated/Education/Me/Schools/SchoolsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/Schools/SchoolsRequestBuilder.cs index c8ce8bd866b..0488e76ce55 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/Schools/SchoolsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/Schools/SchoolsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of schools for a user. diff --git a/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs index a083a7ad5c3..cbee237254c 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs index fc0df3c61e3..4b1920eaa77 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/Item/EducationClassItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Classes for which the user is a teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs index f1115a57324..1a772f2b6b9 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/TaughtClasses/TaughtClassesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the educationClass resources owned by an educationUser. diff --git a/src/Microsoft.Graph/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs index 3ae1eaca54c..8e08bebf165 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Education/Me/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Me/User/UserRequestBuilder.cs index f4b46928239..4a22ef0b942 100644 --- a/src/Microsoft.Graph/Generated/Education/Me/User/UserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Me/User/UserRequestBuilder.cs @@ -51,7 +51,7 @@ public UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the simple directory user that corresponds to this educationUser. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Count/CountRequestBuilder.cs index c2cf23b2e06..d398ee24d8c 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Delta/DeltaRequestBuilder.cs index 4c8505f4de1..267bde2bb27 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs index f66dad30b22..039591b2bb8 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/AdministrativeUnit/AdministrativeUnitRequestBuilder.cs @@ -46,7 +46,7 @@ public AdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property administrativeUnit in education @@ -67,7 +67,7 @@ public AdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of administrativeUnits associated with an educationSchool object. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs index fb49fe11af9..081b37b9224 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/ClassesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the educationClass resources owned by an educationSchool. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs index 3a595371b74..d07e9253de0 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs index 8fc638242f7..9ca20d27203 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Delete a class from a school. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs index adb0993f26c..385bf47256b 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Classes/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a class to a school. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Get the educationClass resources owned by an educationSchool. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs index cfba9389600..0ea76f9a2a8 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an educationSchool object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationSchool object. @@ -103,7 +103,7 @@ public async Task PatchAsync(EducationSchool body, Action(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a school. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs index a9c89d21fb7..ed4b4391450 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs index 46be445111c..a9b8c7f0381 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Delete a user from a school. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs index c9be28fed90..b9bde41f4fd 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a user to a school. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Get the educationUser resources associated with an educationSchool. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/UsersRequestBuilder.cs index 680c9bbd582..86957bdd4b7 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/Item/Users/UsersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the educationUser resources associated with an educationSchool. diff --git a/src/Microsoft.Graph/Generated/Education/Schools/SchoolsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Schools/SchoolsRequestBuilder.cs index 282ddf8cd80..911666c959b 100644 --- a/src/Microsoft.Graph/Generated/Education/Schools/SchoolsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Schools/SchoolsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new educationSchool object. @@ -86,7 +86,7 @@ public async Task PostAsync(EducationSchool body, Action(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the educationSchool objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Count/CountRequestBuilder.cs index 37ec3bc856b..082d6a932da 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Delta/DeltaRequestBuilder.cs index 9dc6249369b..c3384c07ea5 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs index bbc5179738e..96a2fa173bf 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/AssignmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for education @@ -85,7 +85,7 @@ public async Task PostAsync(EducationAssignment body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns a list of educationAssignment assigned to a educationUser for all classes. Only teachers, students, and applications with application permissions can perform this operation. This method allows a caller to find all the assignments belonging to a student or a teacher in a single call rather than having to request assignments from each class. The assignment list contains what is needed to get the detailed information for the assignment from within the class namespace. Use the methods defined for the assignment for all other operations. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs index a26b7f3dc60..7edcbf1f048 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs index 5f6baa34d84..bf8592638dd 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs index 1d8b4fad081..288c374426c 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/CategoriesRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. @@ -91,7 +91,7 @@ public async Task PostAsync(EducationCategory body, Action(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs index 1d4bd33df1f..ab558925dec 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs index 43e06826cca..244065bab0e 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs index 521488f29ee..454432424d6 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an educationCategory from an educationAssignment. Only teachers can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs index 37602b9ee20..c209e4fdcc9 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Categories/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add one or more existing educationCategory objects to the specified educationAssignment. Only teachers can perform this operation. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// List all the categories associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs index d41d1419f0c..d3db2a65539 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/EducationAssignmentItemRequestBuilder.cs @@ -80,7 +80,7 @@ public async Task DeleteAsync(Action /// Assignments belonging to the user. @@ -99,7 +99,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in education @@ -120,7 +120,7 @@ public async Task PatchAsync(EducationAssignment body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for education diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs index 485ddb089b2..64d3e4b43aa 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Publish/PublishRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Publish an education assignment. Change the state of an educationAssignment from its original draft status to the published status. You can change the state from draft to scheduled if the assignment is scheduled for a future date. Only a teacher in the class can make this call. When an assignment is in draft status, students will not see the assignment, nor will there be any submission objects. Calling this API creates educationSubmission objects and displays the assignment in each student's list. The state of the assignment goes back to draft if there is any backend failure during publish process. To update the properties of a published assignment, see update an assignment. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs index 47a8ec453af..3da8f30a69b 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs index fbe1f957cc9..fdefeb03064 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/Item/EducationAssignmentResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties of an education assignment resource associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in education @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationAssignmentRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a specific educationAssignmentResource attached to an assignment. In general, only teachers in the class can remove a resource. However, teachers cannot remove resources marked as 'distributeToStudents', after the assignment has been published to students. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs index 6d6ac653eee..8807e532289 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an assignment resource. Only teachers can perform this operation. You can create the following types of assignment resources: Every resource has an @odata.type property to indicate which type of resource is being created. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationAssignmentReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignmentResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the educationAssignmentResource objects associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs index 763374ffe45..ba295b6b1e6 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. @@ -88,7 +88,7 @@ public async Task PutAsync(ReferenceUpdate body, Action /// Remove an educationRubric from an educationAssignment. This method does not delete the rubric itself and can only be performed by teachers. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs index 47f54953297..4fa506a5872 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Rubric/RubricRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get the educationRubric object attached to an educationAssignment, if one exists. Only teachers, students, and applications with application permissions can perform this operation. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Attach an existing educationRubric object to an educationAssignment. Only teachers can perform this operation. @@ -93,7 +93,7 @@ public async Task PatchAsync(EducationRubric body, Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an educationRubric from an educationAssignment. This method does not delete the rubric itself and can only be performed by teachers. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs index 29c1d155275..b5197a1ee25 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpFeedbackResourcesFolder/SetUpFeedbackResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a SharePoint folder to upload feedback files for a given educationSubmission. Only teachers can perform this operation. The teacher determines the resources to upload in the feedback resources folder of a submission. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 38ed913ca12..aa31c7f3e9d 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a SharePoint folder to upload files for a given educationAssignment. Only teachers can perform this operation. The teacher determines the resources to upload in the assignment's folder. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs index 0d5ff4f4507..cd75e42a00a 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs index d06d83fcec5..1289450f2d2 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/EducationSubmissionItemRequestBuilder.cs @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Retrieve a particular submission. Only teachers, students, and applications with application permissions can perform this operation. A submission object represents a student's work for an assignment. Resources associated with the submission represent this work. Only the assignedTo student can see and modify the submission. A teacher or application with application permissions has full access to all submissions. The grade and feedback from a teacher are part of the educationOutcome associated with this object. Only teachers or applications with application permissions can add or change grades and feedback. Students will not see the grade or feedback until the assignment has been released. @@ -105,7 +105,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property submissions in education @@ -126,7 +126,7 @@ public async Task PatchAsync(EducationSubmission body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property submissions for education diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs index fc9fc32d08e..063346eeee6 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs index f084a865a6e..81ae16c28c4 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/Item/EducationOutcomeItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get outcomes from education @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationOutcome object. Only teachers can perform this operation. @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationOutcome body, Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a feedback resource from a submission. This can only be done by a teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs index be0480852dd..35cc804e9c5 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Outcomes/OutcomesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationOutcomeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcomeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new feedback resource for a submission. Only a teacher can perform this operation. To create a new file-based resource, upload the file to the feedback resources folder associated with the assignment. If the file doesn't exist or isn't in that folder, the POST request will fail. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationOutcome body, Action(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationOutcome.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of educationOutcome objects. There are four types of outcomes: educationPointsOutcome, educationFeedbackOutcome, educationRubricOutcome, and educationFeedbackResourceOutcome. Only teachers, students, and applications with application permissions can perform this operation. A submission for a credit assignment (one that has no point value and no rubric) will have an educationFeedbackOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for a points assignment (one that has a point value assigned) will have both an educationFeedbackOutcome and an educationPointsOutcome. A submission for an assignment with an attached rubric, if the rubric is a credit rubric (no points), will have an educationFeedbackOutcome and an educationRubricOutcome. (It might also return an educationPointsOutcome, but that outcome is ignored.) A submission for an assignment with an attached rubric, if the rubric is a points rubric, will have an educationFeedbackOutcome, an educationPointsOutcome, and an educationRubricOutcome. A submission for a feedback resource will have an educationFeedbackResourceOutcome. All outcome types have a regular and a published property appropriate to that type of outcome; for example, points and publishedPoints, feedback and publishedFeedback. The regular property is the most recent value updated by the teacher; the published property is the most recent value returned to the student. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs index 55c1dbcdb49..a502acab6e8 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Reassign/ReassignRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reassign the submission to the student with feedback for review. Only teachers can perform this action. Include the Prefer: include-unknown-enum-members header when you call this method; otherwise, a reassigned submission will be treated as a returned submission. This means that the reassigned status will be mapped to the returned status, and reassignedDateTime and reassignedBy properties will be mapped to returnedDateTime and returnedBy respectively. If the header Prefer: include-unknown-enum-members is provided, a reassigned submission retains the reassigned status. For details, see the examples section. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs index 4e2a3af44aa..edac2de9ad9 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs index 60132808fa9..8ce2af9fd49 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a specific resource associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. This resource is in the 'working' resource list and should be considered work in process by a student. This resource is wrapped with a possible pointer back to the assignment resource if it was copied from the assignment. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in education @@ -87,7 +87,7 @@ public async Task PatchAsync(EducationSubmissionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an educationSubmissionResource from the submission. Only teachers and students can perform this operation. If the resource was copied from the assignment, a new copy of the resource will be created after the current copy is deleted. This allows you to 'reset' the resource to its original state. If the resource was not copied from the assignment but was added from the student, the resource is simply deleted. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs index 9e85240c5d5..3fe5f223024 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an educationSubmissionResource to a submission resource list. Only teachers and students can perform this operation. The operation will not succeed if the allowStudentsToAddResources flag is not set to true. To create a new file-based resource, upload the file to the resources folder associated with the submission. If the file doesn't exist or is not in that folder, the POST request will fail. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationSubmissionReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the resources associated with a submission. Only teachers, students, and applications with application permissions can perform this operation. The educationSubmissionResource object is a wrapper around the actual resource object the student is working on. The wrapper also includes a pointer to the resources on the assignment if this was copied from the assignment during the assign process. These resources are the working copy of the assignment. The submittedResources are the resources that have officially been submitted to be graded. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs index c33056dcae3..6b3b160e0db 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Return/ReturnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Make the grade and feedback associated with this submission available to the student. This action changes the status of the submission from 'submitted' to 'returned' and indicates that feedback is provided or grading is done. This action can only be done by the teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs index 17c1e2a90ea..bb0fd1d5aa5 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SetUpResourcesFolder/SetUpResourcesFolderRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Trigger the creation of the SharePoint resource folder where all file-based resources (Word, Excel, and so on) should be uploaded for a given submission. Only teachers and students can perform this operation. Note that files must be located in this folder in order to be added as resources. Only a student in the class can determine what files to upload in a given submission-level resource folder. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs index 2d4dbca1f39..49bb0d603e1 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Submit/SubmitRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicate that a student is done with the work and is ready to hand in the assignment. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from working to submitted. During the submit process, all the resources are copied to the submittedResources bucket. The teacher will be looking at the submitted resources list for grading. A teacher can also submit a student's assignment on their behalf. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs index 3b2703354c4..4557ab9e430 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs index 410eae920b1..2ad87cfe4c8 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/Item/EducationSubmissionResourceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a submitted resource. Only teachers, students, and applications with application permissions can perform this operation. Resources are available to a teacher or an application with application permissions after a student submits it, and are available to the student after the teacher returns the submission. Note that teachers can leave notes in some resources. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property submittedResources in education @@ -86,7 +86,7 @@ public async Task PatchAsync(EducationSubmissionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property submittedResources for education diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs index 88ac7ee42f3..5e1b79f8876 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/SubmittedResources/SubmittedResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to submittedResources for education @@ -80,7 +80,7 @@ public async Task PostAsync(EducationSubmissionReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the educationSubmissionResource objects that have officially been submitted for grading. Only teachers, students, and applications with application permissions can perform this operation. The student who owns the submission cannot change the submitted list without resubmitting the assignment. This is a wrapper around the real resource and can contain a pointer back to the actual assignment resource if this resource was copied from the assignment. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs index 68eecbdd752..47c1db33127 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/Item/Unsubmit/UnsubmitRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicate that a student wants to work on the submission of the assignment after it was turned in. Only teachers, students, and applications with application permissions can perform this operation. This method changes the status of the submission from submitted to working. During the submit process, all the resources are copied from submittedResources to workingResources. The teacher will be looking at the working resources list for grading. A teacher can also unsubmit a student's assignment on their behalf. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs index 9a77ada3e90..e0e6af58bb2 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Assignments/Item/Submissions/SubmissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationSubmissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to submissions for education @@ -80,7 +80,7 @@ public async Task PostAsync(EducationSubmission body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSubmission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the submissions associated with an assignment. Only teachers, students, and applications with application permissions can perform this operation. A teacher or an application with application permissions can get all the submissions while a student can only get submissions that they are associated with. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs index 9ecc35b74ef..84872869dd7 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/ClassesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the educationClass resources an educationUser is a member of. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs index bfa9099731c..d2260727950 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs index 3c3bf411af5..541ed4d39b6 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Classes/Item/EducationClassItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Classes to which the user belongs. Nullable. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs index f3860aafde3..7b2c8e6e859 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/EducationUserItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an educationUser object. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationUser object. @@ -118,7 +118,7 @@ public async Task PatchAsync(EducationUser body, Action(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a user. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs index d5df6dfbb81..91e2ab90b9c 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs index a37093676e2..e8cf22c7434 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/Item/EducationRubricItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an educationRubric object. Only teachers and students can perform this operation. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an educationRubric object. Only teachers can perform this operation. Updating a rubric attached to an assignment (PATCH /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric) is only possible before the assignment is published, and what is updated is actually the original rubric that exists under /education/users/{id}/rubrics. After the assignment is published, an immutable copy of the rubric is made that is attached to that specific assignment. That rubric can be retrieved using GET /education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric, but it cannot be updated. @@ -88,7 +88,7 @@ public async Task PatchAsync(EducationRubric body, Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an educationRubric object. Only teachers can perform this operation. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs index a6ce7d94e78..ba2b4d4a3fb 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Rubrics/RubricsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationRubricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubricCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new educationRubric object. @@ -81,7 +81,7 @@ public async Task PostAsync(EducationRubric body, Action(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationRubric.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of educationRubric objects. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs index cecc3842735..8e226fc5f38 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs index a2d725686f4..79310e7d0c2 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/Item/EducationSchoolItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchool.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Schools to which the user belongs. Nullable. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs index 4e84f199dbd..dfbb0c30bbb 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/Schools/SchoolsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationSchoolCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of schools for a user. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs index ca98b84f9bb..114a8fc3f16 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs index deeb51c6d3c..cdfb867d323 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/Item/EducationClassItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClass.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Classes for which the user is a teacher. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs index 7c476bb53f2..0c8900cdeba 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/TaughtClasses/TaughtClassesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationClassCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the educationClass resources owned by an educationUser. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs index 49df54776c7..10bbf045bcf 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/User/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Education/Users/Item/User/UserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/Item/User/UserRequestBuilder.cs index 6481758194d..b018401158a 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/Item/User/UserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/Item/User/UserRequestBuilder.cs @@ -51,7 +51,7 @@ public UserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the simple directory user that corresponds to this educationUser. diff --git a/src/Microsoft.Graph/Generated/Education/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Education/Users/UsersRequestBuilder.cs index b8d01bc7fee..c62392d70e5 100644 --- a/src/Microsoft.Graph/Generated/Education/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Education/Users/UsersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new educationUser object. @@ -86,7 +86,7 @@ public async Task PostAsync(EducationUser body, Action(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EducationUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the educationUser objects and their properties. diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index 225521e9c2c..b49333107fd 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -55,7 +55,7 @@ public EmployeeExperienceRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.EmployeeExperience.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.EmployeeExperience.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update employeeExperience @@ -76,7 +76,7 @@ public EmployeeExperienceRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.EmployeeExperience.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.EmployeeExperience.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get employeeExperience diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs index cd24ff1185d..d7898a16677 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs index 137701edb6b..7b609cb9c48 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property learningCourseActivities in employeeExperience @@ -86,7 +86,7 @@ public async Task PatchAsync(LearningCourseActivity body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property learningCourseActivities for employeeExperience diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs index b78d8094dad..9c088f88f82 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to learningCourseActivities for employeeExperience @@ -79,7 +79,7 @@ public async Task PostAsync(LearningCourseActivity body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs index 942da6930ed..caf271bb645 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs index bd44ebd364f..226c659f395 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs index 971046e4574..9446ad58fd2 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/Item/LearningContentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified learningContent resource which represents the metadata of the specified provider's ingested content. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, LearningContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property learningContents in employeeExperience @@ -87,7 +87,7 @@ public async Task PatchAsync(LearningContent body, Action(requestInfo, LearningContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified learningContent resource that represents the metadata of the specified provider's ingested content. diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs index 22cc5fcd606..cdbb55fc1e3 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningContents/LearningContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LearningContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to learningContents for employeeExperience @@ -80,7 +80,7 @@ public async Task PostAsync(LearningContent body, Action(requestInfo, LearningContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the learningContent resources and their properties. This list represents the metadata of the specified provider's content in Viva Learning. diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs index b2b98b3cbaa..ebd63719672 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs index 70a29022389..d011cad976b 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get learningCourseActivities from employeeExperience @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a learningCourseActivity object. @@ -87,7 +87,7 @@ public async Task PatchAsync(LearningCourseActivity body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a learningCourseActivity object by using the course activity ID of either an assignment or a self-initiated activity. diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs index dc3f19fc756..ecfac028a23 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new learningCourseActivity object. A learning course activity can be one of two types: - Assignment- Self-initiated Use this method to create either type of activity. @@ -80,7 +80,7 @@ public async Task PostAsync(LearningCourseActivity body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get learningCourseActivities from employeeExperience diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs index 88b3efae119..56b0ae85247 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/Item/LearningProviderItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a learningProvider object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, LearningProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a learningProvider object. @@ -98,7 +98,7 @@ public async Task PatchAsync(LearningProvider body, Action(requestInfo, LearningProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a learningProvider resource and remove its registration in Viva Learning for a tenant. diff --git a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs index 0583d68d5c8..b5fc96f9223 100644 --- a/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/EmployeeExperience/LearningProviders/LearningProvidersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LearningProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new learningProvider object and register it with Viva Learning using the specified display name and logos for different themes. @@ -81,7 +81,7 @@ public async Task PostAsync(LearningProvider body, Action(requestInfo, LearningProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the learningProvider resources registered in Viva Learning for a tenant. diff --git a/src/Microsoft.Graph/Generated/External/Connections/ConnectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/ConnectionsRequestBuilder.cs index e60be7dc5f2..c0c2ce5be6e 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/ConnectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/ConnectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ExternalConnectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new externalConnection object. @@ -81,7 +81,7 @@ public async Task PostAsync(ExternalConnection body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the externalConnection objects and their properties. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Count/CountRequestBuilder.cs index 892042446d0..94d3c5e07d5 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs index 5d2a4872446..e3db313b653 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/ExternalConnectionItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an externalConnection object. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an externalConnection object. @@ -108,7 +108,7 @@ public async Task PatchAsync(ExternalConnection body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalConnection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes an externalConnection object. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs index 1046058f808..1ea127e69ee 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs index 67501fa1726..2cf2b3d9920 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/GroupsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExternalGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new externalGroup object. @@ -80,7 +80,7 @@ public async Task PostAsync(ExternalGroup body, Action(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an externalGroup object. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs index 6e2a3b0b0e4..5d87bafde20 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/ExternalGroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get an externalGroup object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an externalGroup object. @@ -93,7 +93,7 @@ public async Task PatchAsync(ExternalGroup body, Action(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an externalGroup object. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs index 08cc5b27d2f..3c348598905 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs index 31b92e0699b..a38d406dcf3 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/Item/IdentityItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or an externalGroup as members. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in external @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an identity resource to remove the corresponding member from an externalGroup. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs index 0874dee28f0..94cfa6334c3 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Groups/Item/Members/MembersRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, IdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an identity resource for a new member in an externalGroup. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or an externalGroup as members. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs index 768f8a51bdd..9b743e81e4c 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs index f7478d8a4c8..9e39c199bda 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/ActivitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExternalActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to activities for external @@ -79,7 +79,7 @@ public async Task PostAsync(ExternalActivity body, Action(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns a list of activities performed on the item. Write-only. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs index cc9fafc0784..640d2e40326 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs index a7d14496453..f16409dac89 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/ExternalActivityItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Returns a list of activities performed on the item. Write-only. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property activities in external @@ -90,7 +90,7 @@ public async Task PatchAsync(ExternalActivity body, Action(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property activities for external diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs index f02b7d66bd4..65aa56ac77b 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/Activities/Item/PerformedBy/PerformedByRequestBuilder.cs @@ -45,7 +45,7 @@ public PerformedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Identity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents an identity used to identify who is responsible for the activity. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs index ccf7600ad02..9e88469273a 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/ExternalItemItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an externalItem object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property items in external @@ -97,7 +97,7 @@ public async Task PutAsync(ExternalItem body, Action(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an externalItem object. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs index 028db42b0c2..0d3336b3062 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/Item/MicrosoftGraphExternalConnectorsAddActivities/MicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(AddActivitiesPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AddActivitiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddActivitiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action addActivities diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/ItemsRequestBuilder.cs index 406fc05bcda..289364ce47c 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Items/ItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExternalItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to items for external @@ -79,7 +79,7 @@ public async Task PostAsync(ExternalItem body, Action(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExternalItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of an externalItem object. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs index 3aa5af70278..7722855ecbe 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs index e7f062ecc0e..cb009ee6164 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/Item/ConnectionOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a connectionOperation object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in external @@ -86,7 +86,7 @@ public async Task PatchAsync(ConnectionOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for external diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs index 83092ab16ac..30a4df02aed 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ConnectionOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for external @@ -79,7 +79,7 @@ public async Task PostAsync(ConnectionOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectionOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a connectionOperation object. diff --git a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs index c626bc0d547..815436cd44a 100644 --- a/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/Connections/Item/Schema/SchemaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a schema object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schema in external @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.Schema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schema for external diff --git a/src/Microsoft.Graph/Generated/External/ExternalRequestBuilder.cs b/src/Microsoft.Graph/Generated/External/ExternalRequestBuilder.cs index d2ac77f1ab3..149fdb527da 100644 --- a/src/Microsoft.Graph/Generated/External/ExternalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/External/ExternalRequestBuilder.cs @@ -50,7 +50,7 @@ public ExternalRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.External.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.External.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update external @@ -71,7 +71,7 @@ public ExternalRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.External.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ExternalConnectors.External.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get external diff --git a/src/Microsoft.Graph/Generated/FilterOperators/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/FilterOperators/Count/CountRequestBuilder.cs index 5746174a071..2e271079d4b 100644 --- a/src/Microsoft.Graph/Generated/FilterOperators/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/FilterOperators/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/FilterOperators/FilterOperatorsRequestBuilder.cs index aa4fdecb797..4901b6f99c5 100644 --- a/src/Microsoft.Graph/Generated/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, FilterOperatorSchemaCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorSchemaCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to filterOperators @@ -79,7 +79,7 @@ public async Task PostAsync(FilterOperatorSchema body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FilterOperatorSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from filterOperators diff --git a/src/Microsoft.Graph/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs index e143c702114..258d5e9688d 100644 --- a/src/Microsoft.Graph/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/FilterOperators/Item/FilterOperatorSchemaItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from filterOperators by key @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FilterOperatorSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in filterOperators @@ -85,7 +85,7 @@ public async Task PatchAsync(FilterOperatorSchema body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FilterOperatorSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from filterOperators diff --git a/src/Microsoft.Graph/Generated/Functions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Functions/Count/CountRequestBuilder.cs index 1dbdff05a16..2ceb34f973d 100644 --- a/src/Microsoft.Graph/Generated/Functions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Functions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Functions/FunctionsRequestBuilder.cs index b455818c039..20d90f53104 100644 --- a/src/Microsoft.Graph/Generated/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Functions/FunctionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AttributeMappingFunctionSchemaCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeMappingFunctionSchemaCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to functions @@ -79,7 +79,7 @@ public async Task PostAsync(AttributeMappingFunc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AttributeMappingFunctionSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeMappingFunctionSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from functions diff --git a/src/Microsoft.Graph/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs index 5288a834fbb..2619593734e 100644 --- a/src/Microsoft.Graph/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Functions/Item/AttributeMappingFunctionSchemaItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from functions by key @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttributeMappingFunctionSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeMappingFunctionSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in functions @@ -85,7 +85,7 @@ public async Task PatchAsync(AttributeMappingFun {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AttributeMappingFunctionSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttributeMappingFunctionSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from functions diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs index 8f0f56d0d49..8bcc12d7c5f 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs index 89906914e53..ccf5fcb7592 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupLifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Creates a new groupLifecyclePolicy. @@ -81,7 +81,7 @@ public async Task PostAsync(GroupLifecyclePolicy body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the groupLifecyclePolicies. diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs index edd83c32c3d..8afcb664fa7 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddGroupPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AddGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs index 10f5d019fc4..6efdcd8c9e1 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a groupLifecyclePolicies object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a groupLifecyclePolicygroupLifecyclePolicy resource type object. @@ -98,7 +98,7 @@ public async Task PatchAsync(GroupLifecyclePolicy body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a groupLifecyclePolicy. diff --git a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs index 5cfaa8d631a..ed5a2b67b87 100644 --- a/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemoveGroupPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RemoveGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoveGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes a group from a lifecycle policy. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Count/CountRequestBuilder.cs index b859bf77197..171e4b09cb7 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs index b121eac7960..c76db308367 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 687e4c4dd1e..a50ed48abc5 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs index 8273c43ebce..a3d25ae58a7 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs index 80750d37e75..bf3345f7506 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/GroupSettingTemplatesRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, GroupSettingTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSettingTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to groupSettingTemplates @@ -100,7 +100,7 @@ public async Task PostAsync(GroupSettingTemplate body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GroupSettingTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSettingTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Group setting templates represents a set of templates from which group settings may be created and used within a tenant. This operation retrieves the list of available groupSettingTemplates objects. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index f4f826dc1e2..ed65477edc7 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index a959075170f..d477c45fdf6 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index bbcbe9862ea..05d30f33899 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 0a16b3a703d..e0d602fe7ed 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs index 6cbc2ede496..c30f8a3b56b 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/GroupSettingTemplateItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A group setting template represents a template of settings from which settings may be created within a tenant. This operation allows retrieval of the properties of the groupSettingTemplate object, including the available settings and their defaults. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, GroupSettingTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSettingTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in groupSettingTemplates @@ -111,7 +111,7 @@ public async Task PatchAsync(GroupSettingTemplate body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GroupSettingTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSettingTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from groupSettingTemplates diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs index a39e04c1a4e..a53984d7a90 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs index dc9a44727fd..58498df8ca5 100644 --- a/src/Microsoft.Graph/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettingTemplates/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/GroupSettings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettings/Count/CountRequestBuilder.cs index ebc5c97bbfc..137b49063f3 100644 --- a/src/Microsoft.Graph/Generated/GroupSettings/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettings/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs index 9c635575e00..1b0a33715ce 100644 --- a/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettings/GroupSettingsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. @@ -81,7 +81,7 @@ public async Task PostAsync(GroupSetting body, Action(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of tenant-level or group-specific group settings objects. diff --git a/src/Microsoft.Graph/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs index 701856c4a4a..ea76caebc05 100644 --- a/src/Microsoft.Graph/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/GroupSettings/Item/GroupSettingItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. @@ -88,7 +88,7 @@ public async Task PatchAsync(GroupSetting body, Action(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a tenant-level or group-specific groupSetting object. diff --git a/src/Microsoft.Graph/Generated/Groups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Count/CountRequestBuilder.cs index 712fb20f632..dd41e8500fd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Delta/DeltaRequestBuilder.cs index c8f8974e816..418ed4eb414 100644 --- a/src/Microsoft.Graph/Generated/Groups/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 359029a5589..3a4c56e2bd0 100644 --- a/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Groups/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GetByIds/GetByIdsRequestBuilder.cs index 555a23d7bba..227993675a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs index 800b326ee14..99d6e667912 100644 --- a/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/GroupsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. @@ -101,7 +101,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs index 3ffe115fed5..63b5d34e840 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/AcceptedSendersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs index ed502c5738e..dd3212b9d08 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs index 6de9f672b2c..68271e08884 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove acceptedSender diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs index 094d8dc3a66..e489b6dc64d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AcceptedSenders/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Specify the user or group in @odata.id in the request body. Users in the accepted senders list can post to conversations of the group . Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Users in the accepted senders list can post to conversations of the group (identified in the GET request URL).Make sure you do not specify the same user or group in the accepted senders and rejected senders lists, otherwise you will get an error. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs index 72882b67a43..693fec2e044 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AddFavorite/AddFavoriteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Add the group to the list of the current user's favorite groups. Supported for Microsoft 365 groups only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs index 5c7440b529e..a69437d1858 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to assign an app role to a security group. All direct members of the group will be considered assigned. Security groups with dynamic memberships are supported. To grant an app role assignment to a group, you need three identifiers: Additional licenses might be required to use a group to manage access to applications. @@ -81,7 +81,7 @@ public async Task PostAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the app roles a group has been granted for an application. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs index c87f8476a2e..f3ca10e073d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs index 5150470139b..f08a3c88833 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Represents the app roles a group has been granted for an application. Supports $expand. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appRoleAssignments in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes an appRoleAssignment that a group has been granted. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs index 9f966a147d8..5f49eed16ad 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/AssignLicense/AssignLicenseRequestBuilder.cs @@ -48,7 +48,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or remove licenses on the group. Licenses assigned to the group will be assigned to all users in the group. To learn more about group-based licensing, see What is group-based licensing in Azure Active Directory. To get the subscriptions available in the directory, perform a GET subscribedSkus request. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index 700db831038..047040f3125 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function allowedCalendarSharingRoles diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index c66fdad375d..37e1d9df17c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarPermission body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs index 21f09a01d90..3572e8721d5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index 1e4bb15a81a..e7fead6eb1d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified permissions object of a user or group calendar that has been shared. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the permissions assigned to an existing sharee or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. @@ -88,7 +88,7 @@ public async Task PatchAsync(CalendarPermission body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete calendarPermission. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarRequestBuilder.cs index 7eecb9a02fa..6bdbbf14f7a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarRequestBuilder.cs @@ -74,7 +74,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The group's calendar. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs index c3a1ff66f88..978694fe983 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs index 03cd6b0e6ca..09f3d138744 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs index 16810f774a4..3d44736adc1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 3c2a8f86180..b3ea48dd7f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs index d360e136ac7..dcda6e265ff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index a700ea2d2e6..4cc6ef3715e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index e80352f8d00..e74e6d2f643 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 25480eee130..23a2f5f4fe5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index fa697faef1f..4a6398cb8f0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index d54278ad890..27be4a522a4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index dbc6377034d..f7ccef102a2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs index c84db2739a9..9622bcdc913 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs index d3702d8230f..1aa49a168b1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs index f911d3c72d8..5980eeaef47 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 19049f1faf4..5b5e73d5fdc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index be1e20bcd38..8b967159fe1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs index 9556d999bd2..6ccb6e43f7e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -160,9 +162,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index c16e31a8d95..eeeee0dae1f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 68d93846f40..c16eb43d9b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index ca4574f6499..7e9ea4d70e2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs index 1b60f164780..8e9d79cc556 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs index 4ba66f520d6..a2325b679d7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 7accd5d6f25..84cbf150005 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index c9bee9d3cf7..b1068e18d8e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 58ce8d4dbbb..8ba86a01f9e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index e303d88f933..c5bda2fbff7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 757e91aabf0..8182775ad29 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 6f48819d7a7..2728df25edd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index a6934f1d06c..64851bc5208 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 3911d99c6ef..f6a76a8e0fd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index c71752115bd..0c73b3a6890 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index f9b38e890a7..2206a0b2c26 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index d8608e126d6..162d0a62421 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 734f9bd2853..b7f2c697939 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 712ff28b784..73cb8d9614a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 1e424ea040a..aa2521ecf87 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 06d19fa6691..7f004fb29c4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 33e7468832d..fe6b2fc77ef 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 8321921f47c..710caf63fa0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index baf9f1c9432..9c9b8b3eb74 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 0fbc5023d4c..8a88190b3a3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index cc93760734e..f86b23eff0b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index eb9d874ca45..fca2d86d49b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 5f9bc43438c..fcb094a2f34 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index c61d97d5fd8..7bba2d87af9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 39c8df44e73..fb35ebd2c63 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 4b41a7a12bc..da28d9ef278 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 388518247c8..c0c6cbcc89e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index fd5b0da7fa7..2996b6e16da 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 5bbec89d21e..23030cfc9ed 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 8d9bcdecb08..cb778078402 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 7aec2ab4db2..5a26753ea46 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs index 013bc0421cc..7f87de6e12c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs index 8049209f3ae..2a606a31fdf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs index c46279749eb..db40500a7f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index 304f214aac3..5dc09d6459d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs index d895eed6391..df17ca3f6aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index c09d3436c76..c293ab0786f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs index 8e5dacc8afd..c12155cf6db 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 30ebee7e01d..067b2e5ff23 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 8464ce9259c..32b1f96ff3f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 660422348b2..1569d0f68a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs index 6e5a4986137..a4b2929dc2d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs index 0322d9c8847..30ed707c0be 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs index a3ae18eaea9..985d0eb242a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index 119d4fa7902..42b8ee3c33d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs index 00f874c32ac..c3d9507d19a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 4ff2d262507..79355d96d09 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs index 3ffa2f9e526..498337fe9e0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// The events in the calendar. Navigation property. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an event object. @@ -141,7 +141,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property events for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs index 06519bd1780..13878236df4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 14ad6baff8f..e28a8e04883 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 98f9d9b0343..6e17a590ebc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs index eda99bfdbe1..dd2b7742444 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs index c2613d8d6e8..02745418517 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs index 857e9eb8b11..48b3aabadc9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 7d242317311..8ab47cdcff6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs index 2e053df2ef5..f0df30e5f4a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index f07ee94efa9..29425edfbce 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 8ee7edc0567..7ac7cd6dabc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 30ab8ad14fe..884a5f96cc5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 43e0bab1fa4..981c8130bdf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 94b9c95701b..d50ea979850 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 9af16c89abb..47effee3d10 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 2d36e6f069f..46a0653c4c7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 9172b67b781..a99e4b18ec8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 4c5e0738905..11e8fc31bcd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 2cfb6123306..752c6cda036 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index f20a87f91fa..70c4a91604c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 7c6d8945ebe..077088fddcc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 4e46c978f90..0c8e32208ad 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs index 2c10d884c78..deb33f34476 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 03e7f43f421..7c41773ab72 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 1cc45d1c5c9..4dff701f686 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 8fcb87f0f38..a0550aff1a1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 1cca89607ec..0c5e700b42c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 32daea1599a..795f786931b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index dc9f7d86468..877d23eb77c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 7bbc08b90e7..ed2a4c9801d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 658bd9d7794..536ea39ea3a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 75929a5ce6a..8afdc5dc21a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 9fae17e1765..9c56a2e7242 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 97a83f7807e..15a507d1d94 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index d4817807e8f..38fff849e47 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 4608b7f945c..2b368bc07fb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs index 5d46f2721a6..66996d0710a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs @@ -15,8 +15,8 @@ public IDictionary AdditionalData { } /// The AvailabilityViewInterval property public int? AvailabilityViewInterval { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } + get { return BackingStore?.Get("availabilityViewInterval"); } + set { BackingStore?.Set("availabilityViewInterval", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } @@ -24,42 +24,42 @@ public int? AvailabilityViewInterval { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #nullable restore #else public DateTimeTimeZone EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #endif /// The Schedules property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Schedules { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get?>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #nullable restore #else public List Schedules { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #endif /// The StartTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #nullable restore #else public DateTimeTimeZone StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #endif /// @@ -82,10 +82,10 @@ public static GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"availabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + {"endTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"startTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -94,10 +94,10 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); + writer.WriteIntValue("availabilityViewInterval", AvailabilityViewInterval); + writer.WriteObjectValue("endTime", EndTime); + writer.WriteCollectionOfPrimitiveValues("schedules", Schedules); + writer.WriteObjectValue("startTime", StartTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs index 373a2e88466..6087a9a415c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSchedulePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs index 01c1b3b0322..314163a250e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Read-only. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs index 466182a876f..afe89c1aa81 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs index 75904ae029b..930514b4bb3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs index c85a81cf99e..8af16b7c760 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs index ba108787613..f3f62e4e828 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index b9cd816f815..e88f0865e20 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 7fa04e5435d..077d3b522ad 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index acba37c144d..04c2da2ce42 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index d89fb6dcac7..220e4059d8d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index d91eb90eae0..209c0b15d14 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 785773a011a..059cefe2ca9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs index 36d00f84080..486f3028bff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index e1ffd306595..09e1fd36b4a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs index 387ae0bc88c..8559c639331 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 8aa677df0b1..1fee24bf34f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index dd6e46372f1..c6c473daf65 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs index b1a0476d77c..012efa0de85 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Read-only. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -160,9 +162,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index 1b418d28f90..6e13b64c2e8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 0994cf70540..aa70e31b274 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a8c57832a60..6ab9f8dc1e1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs index e1ff011f4db..b85356a7221 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs index 18ab2cc0b6f..30ddb489b0c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 5b3b7f70cc5..0f5a1e5f0a7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 5988667cc20..6cf18b7ec52 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 46a7796bf8d..4c8f92a91f0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 18ce48342c3..005b3046c48 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 4ac3af8dcfe..f8c38e7eff7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 8c4220dd211..3857091c44d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 698818a6237..edec53d4004 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index eeb085fba05..1c1df8eee09 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 90bc05baa2a..a2c8f9df266 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 79de70d8f83..b8ff19df6b8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 7e1326f0386..cde25ee7304 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index b9a32e3c285..6fefa62a3ed 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 5ee9c24cc73..7676a6b5905 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 62bc31ce310..577c7e70e20 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index bd0ad527161..bab73090952 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index a53d0912cbc..13432bbe071 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 33952c8ee54..797d6502ef6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index c9f634e1414..7e6666ec56d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 6ef87e7e626..c9bf6e005b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 6b0ae53a8dd..33fa6c53abe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 6548110db7c..6ba30b2c725 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 1e003b97a4f..b4fb1a5d94e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index ba0a65f0151..d492860a7f4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index fc0597a1fa5..b13c0eac986 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 5d194541de4..4fcf438b15b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 1a54bf2bcf1..406e87360eb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 1dbe90b21a3..5732a8145ac 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index f9f45c7dc14..ebf5785b028 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 02cdd8f9c2d..feb7084b20a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 2a353ed54c7..bcc0ebd500e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs index 6232c273ddf..7b4ba7133cb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CheckGrantedPermissionsForApp/CheckGrantedPermissionsForAppRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action(requestInfo, CheckGrantedPermissionsForAppResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckGrantedPermissionsForAppResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkGrantedPermissionsForApp diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index b20590a2ec9..b3e457c54d6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index ee28f71320b..f1b45ee4902 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs index 64829cfc34b..55ea6093228 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/ConversationsRequestBuilder.cs @@ -59,11 +59,11 @@ public async Task GetAsync(Action(requestInfo, ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Use reply thread or reply post to further post to that conversation. - /// Find more info here + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -81,7 +81,7 @@ public async Task PostAsync(Conversation body, Action(requestInfo, Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of conversations in this group. @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Use reply thread or reply post to further post to that conversation. + /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs index 1a2912e126f..a32f5ce8209 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs index e44fb705061..e18a695e3b1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/ConversationItemRequestBuilder.cs @@ -35,7 +35,7 @@ public ConversationItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap } /// /// Delete conversation. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -51,11 +51,11 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of conversation object. - /// Find more info here + /// The group's conversations. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Conversation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete conversation. @@ -98,7 +98,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of conversation object. + /// The group's conversations. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -147,7 +147,7 @@ public ConversationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve the properties and relationships of conversation object. + /// The group's conversations. /// public class ConversationItemRequestBuilderGetQueryParameters { /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs index a6e5e8f3b59..d817e5528a1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index 1a654580aec..5b76a80c1fa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property threads in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(ConversationThread body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property threads for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs index c77c2809efa..a9b2bf39335 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs index 6554acb80f7..ccd7741204f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attachments for groups @@ -85,7 +85,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to a post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs index 7a6e386f0fa..8b6a3221917 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 77516482ae4..0cabbdea0d1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 1823a42ab7e..513a593449a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 7382ad36a22..ed517d825da 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs index 948b6504bba..ed577c03749 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs index f824e7d3c98..57efdc5a070 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 34cd6e74b72..5027616cf0e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs index 99c121cb13f..61574a8eac7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs index 5c957f01f34..dca71ea221e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs index 3b0e79b15ed..329a51d00c0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attachments for groups @@ -85,7 +85,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to a post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs index b5745908bb7..91035d1cd2e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index be48147abae..3029a800420 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index e14623339cf..a12fbf0b715 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs index c64004ac713..d91774076aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs index 15076ed8aa6..01bd6e2a32a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs index 489684a3dea..aad8e10b59a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs index 20d9ee71a02..a17bcd63a33 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs index 75efa7e3e02..e492ea9710c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs index dd25c053afa..4166be7c93a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs index c20f62623bf..ebb10397070 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs index 274c381f589..185a50c063e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Post? Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #nullable restore #else public Microsoft.Graph.Models.Post Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #endif /// @@ -49,7 +49,7 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, + {"post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Post", Post); + writer.WriteObjectValue("post", Post); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index f3b3254ad5f..a49e8137d88 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs index b14224cec70..3368da276f2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get posts from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs index 4bd03a97b67..c887065956b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Post? Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #nullable restore #else public Microsoft.Graph.Models.Post Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #endif /// @@ -49,7 +49,7 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, + {"post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Post", Post); + writer.WriteObjectValue("post", Post); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index 1c15f6a7a49..a8ae791a8f2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs index 5d288cc6897..aa10f67c84d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs index d05b8d3391e..a11ccd25350 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Post? Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #nullable restore #else public Microsoft.Graph.Models.Post Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #endif /// @@ -49,7 +49,7 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, + {"post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Post", Post); + writer.WriteObjectValue("post", Post); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index 9be633350f5..233798c72c0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs index edec9f697f5..6d82a611ed3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Conversations/Item/Threads/ThreadsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationThreadCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThreadCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new thread in the specified conversation. A thread and post are created as specified. Use reply thread to further post to that thread. Or, if you get the post ID, you can also reply to that post in that thread. Note: You can also start a new conversation by first creating a thread. @@ -81,7 +81,7 @@ public async Task PostAsync(ConversationThread body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the threads in a group conversation. Note: You can also get all the threads of a group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs index 4e9c2a9fd67..6e2babefeb5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/CreatedOnBehalfOf/CreatedOnBehalfOfRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user (or application) that created the group. NOTE: This is not set if the user is an administrator. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Drive/DriveRequestBuilder.cs index 67f86f290fb..90dd31c65d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Drive/DriveRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The group's default drive. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Drives/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Drives/Count/CountRequestBuilder.cs index 380a82d8c2d..e151becd0c1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Drives/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Drives/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Drives/DrivesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Drives/DrivesRequestBuilder.cs index 733b2002f35..8e00f3d818e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Drives/DrivesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Drives/DrivesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The group's drives. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs index 74a8b8e336b..3aed0977ce2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Drives/Item/DriveItemRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The group's drives. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Count/CountRequestBuilder.cs index d31678197e1..f9211128423 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs index 884736e3f44..6cc68a5b1df 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/EventsRequestBuilder.cs index 936ef57c898..7e43a24dd87 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of event objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs index e85390ba6ae..baa92136878 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs index 0a473ae0a22..097f2f2870f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 6f64b672d83..cd7acda4256 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs index 36c3c5399ba..980f132e574 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 43cef4775c9..0fc81ede7f5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 5e1e2942ed2..e43a9f62d80 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 6acf8edcbd7..90f659d806d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs index cd4902df787..0ed375e7596 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs index 78258e7aad5..7fc57c0891d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs index bf58dd2f581..9a1dd6f3088 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 7667e71d546..9a222b4af0b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs index 66bed860601..4dd21fbea6f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 8b8b9a2a067..cad698161d5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs index 475f7d415f1..cb99c9c3c2b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/EventItemRequestBuilder.cs @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action /// Get an event object. @@ -121,7 +121,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property events in groups @@ -142,7 +142,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an event object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs index 3256300f429..40218f2dac8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 51629929194..5d5d9d53f00 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index afe76cb5a1d..a5b1e524110 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs index cb1e381dc3b..9cf9197500b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs index 520058aa776..1139d745791 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs index ca8e3f66db6..6786bbc83df 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 1525d042761..1feaefe293d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs index 59929602f81..226b7c9f76f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index db4f38e216b..f9358f28e4b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 55a272bc306..a2359f96da5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 77fbd897582..be43732b09d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 6aa1d78327d..4f357e1e109 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index a388dcf5a99..7396f634216 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 9cd8038a3ac..1ff015f7e0c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index b2c64b783bd..c35594fc4a8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 53db2fa7a18..a2628d793de 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 282dccae98c..f72986dac8c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index fa49903958e..1c912aa16aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 15c51559255..df19c6f5e28 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 8d87d15a770..71c421ebea9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 4f2da856d7c..325ed614052 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs index 04f52ae8c3e..b056653d8cf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 74b5cb4142f..4c085134ed6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index ccd841816ec..e331a2556aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 263d7ec1b03..c428549e79a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 1fb0a6365b3..e8d88c282b8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index dbffa72fa24..ac8ac2b49cf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 3f6c4216850..9d8744dabd4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index a54712df79f..7a5b5beffbb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index bd492768b41..fd1fc553c97 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index f97e5b8b1c9..e9910ce79ef 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 711e2b6d3d8..83c9b42f0b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 3e55c126eda..503545ad13a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 38889783d19..4ef9367c894 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 5ac0e71655b..a9522220644 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs index 1e8838684ab..3f092da3be2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs index 5d04530ab78..413fd911a2c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the group. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 34528914d56..3d81f399652 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the group. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in groups @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 2af76acc7a7..ad9788fdfa5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index d626160a48e..9570ce795aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs index 555fc574202..6f99a3897be 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupItemRequestBuilder.cs @@ -256,7 +256,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that are not returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and are not returned in the $select query. @@ -276,11 +276,11 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. - /// Find more info here + /// Update the properties of a group object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -298,7 +298,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete group. When deleted, Microsoft 365 groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This isn't applicable to Security groups and Distribution groups which are permanently deleted immediately. To learn more, see deletedItems. @@ -351,7 +351,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. + /// Update the properties of a group object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs index 4036c90b72f..626dda49e2f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs index fcc76b83c0a..d33cd4c4ded 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/GroupLifecyclePoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupLifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to groupLifecyclePolicies for groups @@ -80,7 +80,7 @@ public async Task PostAsync(GroupLifecyclePolicy body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieves a list of groupLifecyclePolicy objects to which a group belongs. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs index 4cbdad10d53..471c82985b1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/AddGroup/AddGroupRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddGroupPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AddGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds specific groups to a lifecycle policy. This action limits the group lifecycle policy to a set of groups only if the managedGroupTypes property of groupLifecyclePolicy is set to Selected. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs index 388a369d000..86f8a3087fc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/GroupLifecyclePolicyItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// The collection of lifecycle policies for this group. Read-only. Nullable. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property groupLifecyclePolicies in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(GroupLifecyclePolicy body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupLifecyclePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property groupLifecyclePolicies for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs index cf00c70eb98..ad01c7fd730 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/GroupLifecyclePolicies/Item/RemoveGroup/RemoveGroupRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemoveGroupPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RemoveGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoveGroupResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes a group from a lifecycle policy. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs index d8e9c027963..73781030911 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index bca3c34efb7..35f963f9afc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 37266dbda2b..f2bf3dcc1a3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index 2d94db2e2c0..8961f57cf80 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index cab7c6a2939..0a798b06e5e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index e0265dbb954..1f2c9028594 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index dadf97606fa..0d5c03b470e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index a9155a3dbe6..d88543e89f9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs index e0357f21250..3fd23779dfc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MemberOf/MemberOfRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Count/CountRequestBuilder.cs index 5372f8332fb..ebc93189679 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs index 33365ab4ab9..c1570e7339e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs index b93dbec2c21..e61890a5a37 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs index 8a1d7cde3bc..a046555ce8a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs index 0458f515eaa..383fa3a9cbe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs index 0d07727aa88..559a6f2baa0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs index 1bc88b01678..cdfea32fcf1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs index c7ae17ca403..85f282a28b7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 9eabc5892d2..8da75b79ed2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs index 0465b70a710..26e6dfe7d59 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 8879efa13b8..1b229872619 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs index cfb2dbb9393..bb554a540f5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs index 8525f76e87e..d44e9b1989d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 7364c0bf95f..f5d9bf6c3af 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs index cb0d83da1fd..4e50bc38df0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs index bcd6b89b32f..9efc138a43d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index b75d8350223..33fcb5fdeff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 500e2f39068..ba0ab98f1ab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs index bababf5119f..a562208f675 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs index 50242ec7736..0a55c9de8eb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a member from a group via the members navigation property. You can't remove a member from groups with dynamic memberships. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/MembersRequestBuilder.cs index 561bc3dfc5c..64f302eba51 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/MembersRequestBuilder.cs @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs index be85e830172..a87bb629c11 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Members/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a member to a security or Microsoft 365 group through the members navigation property. The following table shows the types of members that can be added to either security groups or Microsoft 365 groups. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// The members of this group, who can be users, devices, other groups, or service principals. Supports the List members, Add member, and Remove member operations. Nullable. Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName). diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs index b6c3a00dc0e..363085daeb6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs index 640641061ce..d28351c0aaf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs index 50f62cb496f..98dac7c0649 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs index f3c05489eb5..3c7470ac0f4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs index af53a45a1e4..f0692d167fb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs index 92c27fb832c..cc4292c4d79 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs index ed6f6c56cc6..c259ddd9169 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs index e9e2feddeed..7ec48f3eb42 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs index a324aae5b92..7acbd4eb645 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs index 6b1e074848a..19e6ae8ffad 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 9c2afcf0a9d..3a91d0d0256 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs index c322ff2fb22..62a6449435c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs index 5f189593dac..2dfb04bf3af 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs index 1d532770fc0..543654487b0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/DirectoryObjectItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A list of group members with license errors from this group-based license assignment. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 1399d1a8811..b389b5c1ae9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 661ef4f63ae..70ef6cc41b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs index b124d7f6544..9460af80a72 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 5f0a2be7eab..2c2fa76f048 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 022e89dd5f0..8459be7db9f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs index 8ba01353429..4231d8eac17 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs index 3cb28ffb565..dd3d57ccd90 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/MembersWithLicenseErrors/MembersWithLicenseErrorsRequestBuilder.cs @@ -88,7 +88,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A list of group members with license errors from this group-based license assignment. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs index 8f597033959..69a3158f3e0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs index cabf14621f9..6e77b01aa16 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(GetNotebookFromWebUrlPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs index c862ce35804..48b232159b9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getRecentNotebooks diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs index 3aa24892725..42a8ffa45d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyNotebookPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs index 32d56697acc..313067af5d4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a notebook object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property notebooks in groups @@ -101,7 +101,7 @@ public async Task PatchAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property notebooks for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs index e17531d57b9..508686f46f4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 25323effbd6..dd4e152833c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 10ed4fac9d7..fa8e18dd9f9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 0c93662fa64..a8cd77eaf29 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// The section groups in the notebook. Read-only. Nullable. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in groups @@ -105,7 +105,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 5ebdfd26f0e..79b51fc7578 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index bef84db32a5..6f077548a14 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 7682a0a6398..3feedce8f41 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index ab259b795f3..535354ec345 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index e0fdb19f26f..90910e8bb24 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 20202f5e4d4..46ae2d479f2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index b6eb2b0ee22..79edc5731ac 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index c98ce6d173e..14e94193822 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 7f16be9b66d..6d9be9f02d7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index c5c1a99f877..d24a80cceb7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 52c84bdbb9c..1eab2a833f8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index e8b44a45d97..ae582926ca5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 7f55802f8e0..38dc7d4351c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index aa75df760ec..e5d4d6d6bda 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 415da5d8b74..b8d99f57703 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 2d0c1e1f2bc..15186a08a97 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index a44534fbc53..58d763a9d03 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 3e851be9257..f0e3feeb9bd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index f05424932a6..4dea2b4141f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 98effedd090..90d2a31e431 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new section group in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs index eddcb7b004f..c18e28bb3e7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index fa12e2475d2..2358b670fbe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 855263deab7..eb699056015 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index bd0327f3820..3f0b3f11041 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the notebook. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 49845ab32d3..ac6efc27bf5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 01bf6dbe9e8..b86a39a8ac2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 38f96289854..940f445e345 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 5055552e3b9..1f1021372ee 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index bd8d63aec22..593d6d5a11f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index f0ee483608d..d70cf25bcc3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index b3b27ff6aca..72962905f10 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index fec974e2ab7..bba75467113 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 499904acd3b..a8b0b646b0c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index cda2f0622a4..df666857b3a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 287a13470a6..cb0b9ca62a6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs index 2045dc43664..4febfc31118 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs index 54300e38e5d..8153cc14053 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getRecentNotebooks method. @@ -95,7 +95,7 @@ public async Task PostAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of notebook objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs index f9a00a0b0b9..db1e3fe0361 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/OnenoteRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Get onenote from groups @@ -94,7 +94,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property onenote in groups @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property onenote for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs index 88d61297cb9..56b624fdb8b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs index cfce5c0c6fe..553a2ccd817 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs index 767212834f1..dd7a7c4f289 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs index 055ce5b2c6a..2521e213c20 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs index ec37fbd21aa..8806e680ce0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index e5007b6d9fb..0ef59723ad6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs index e1318eb7ca7..cd0389435fb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -117,7 +117,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a OneNote page. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 5d97f278eab..c068d43f31d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 09ed09752a5..152660e6b0c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 47aa8a0fc7c..c860b4edbd4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs index cdfa8542f9b..990013eff70 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs index d39c6f0b75c..4cbed27c8b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs index 9c2a92a1821..0b16362262c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs index 45fb309119d..ba2258cae33 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs index 9685b595f26..ed215323236 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs index 06044fd89e1..4400c0446a8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Resources/ResourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for groups @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs index 564033d8765..9180d1f03f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index a92509cea6a..bf766909cfd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index a83461cdd18..550e521d18b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 924168b61ca..868d42a95a6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a sectionGroup object. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in groups @@ -106,7 +106,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 6e7e750dab8..8494c123bda 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 7542229f53b..f8542dd94e7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 9954e138349..7225fdca314 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 46a4e20df9e..e3e61376738 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 526ebfa2e00..8ff2c2629d4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index de8caaeea82..b24dacbe9c0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 82ca2f8f16f..8b1da91df56 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 4b0fa351aeb..4cbfe2c94c8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 8c37b9b8e9b..6057ac1be5a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 5ca13783c26..c90b471c37d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 65f3d8b35f5..bf245a53aa7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 8d6492e709b..4440bcc4c6c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index d2fec42284c..6ff5a0b3ee2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 1e1713df74c..8b1e54d4ac4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index c57f841e984..b6b6feffaf8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 0ad70c59f3e..00b0076b2ba 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 30c5c81016d..3c91af273c9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index c229a3d3725..68d0dabfe4d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index b808a92747b..a52d29a1e08 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs index 36db75ad0ff..4f68d0fa41f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sectionGroups for groups @@ -80,7 +80,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of sectionGroup objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs index 6c7bc2b100f..f564e9897c5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index ee28bbd2a8d..a944d2a9c06 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 098ba53df32..4ebcc027317 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 9c24a37e45f..19a3ba1fb84 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a onenoteSection object. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -111,7 +111,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs index f13fec35559..fb036d79b5b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 22e3ca13d0f..0053d7b697e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index b734c93989e..01933c0789c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index e60c035a897..ce696337961 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 078b7476445..5a4b70b2450 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index ad96e9b8cb8..074edb43240 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index a6769fcc7ba..4a5a445271c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 61007dc989d..32420f27e0c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs index da69c4e2b6e..89095c39370 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 0f092b6a28e..bc2a3d2f388 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 37d35fc93fd..960c88aa28b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs index 27237701021..7e152fab687 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Onenote/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sections for groups @@ -80,7 +80,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Count/CountRequestBuilder.cs index 93de1398f7c..42c803de76c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs index e2301dd263f..b4f2caf3e07 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs index 5fe5aef59e6..5aa30a395d0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs index c84a559ddb4..2d30d361169 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs index 12d51b58184..4d98ad67e74 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs index 836da2ab154..d34a50f3c04 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs index ac15e8d9a77..f9915b0e4a8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs index e546ac8d9a8..aa1a86484aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 25bde848d5b..db141352a48 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs index 3b5bae33f4c..f0d3838bddc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 636d9bc9764..2604188fafd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs index 7cca43dedad..1ca8b6327f5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs index ff84663fc6f..59d8c174463 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs index d7a52935c2b..5cf75eca6d6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs index fd7f8411e72..a15e4e1acd2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs index 6949aaf0fa4..bb07b8363e9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 534e4393397..12752e3318e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index ac1a0bb2067..a98c18217aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs index b26eeea57ee..877fbfca4d8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs index e84549d9618..a2980f12539 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/OwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/OwnersRequestBuilder.cs index 426206f95c7..31cc32b896a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/OwnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/OwnersRequestBuilder.cs @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs index 920832affe1..8d81c0a2de2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Owners/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). Supports $expand including nested $select. For example, /groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName). diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs index c08d3b873c0..10c11986bc7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs index eb33349e9c3..6bb11d153f9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 1865b5a70da..d56cccda5d1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index 141bd90c64c..2b7bf65ee1e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 68973b4455e..a64870d604b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index cb0558b0ceb..61f51d0717f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 53a6f4af5e7..e780c465429 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 3adf0b7e4a3..df7ad286186 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 7e85487cb04..af5a6d23a77 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get permissionGrants from groups @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index ef0fcfd3cb8..e31887f491e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 9ca0987cf9d..5a529a3e5dc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for groups @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the group. This list specifies the Azure AD apps that have access to the group, along with the corresponding kind of resource-specific access that each app has. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 6a8449c389e..f3f8a4bd277 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Photo/PhotoRequestBuilder.cs index 71229715467..8480d721a83 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The group's profile photo @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property photo for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs index a371490a536..3f7499ebd90 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Photo/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in groups @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Photos/Count/CountRequestBuilder.cs index 14ea5fb5cfd..0a185da2019 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Photos/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs index 28392639901..85c71355e51 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The profile photos owned by the group. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs index 68106b62385..6dcfe5fe845 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Photos/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photos in groups @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photos from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs index cf3b3dea8ac..6f4c4a2945b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Photos/PhotosRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhotoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhotoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of profilePhoto objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs index b4879cb968f..834f6a5f72e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/PlannerRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Entry-point to Planner resource that might exist for a Unified Group. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property planner in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(PlannerGroup body, Action(requestInfo, PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property planner for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs index bea67dfe727..287453c131a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs index f4615bf8a2b..8d48f5b81d5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to buckets for groups @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerBucket objects contained by a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs index ce68530ff50..4350be5bbab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs index 10a38153897..7a9bbc4456c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of buckets in the plan. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property buckets in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property buckets for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs index 8ec29a5a1f7..d4b9855b685 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 6f152db2d51..bb4a8d5ed54 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index ae3fa0d774a..2146bf76718 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 89fbde3afa9..270320be287 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index d2cc5ef835d..794485bd798 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. The collection of tasks in the bucket. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in groups @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 17dbb3d15d5..b562d9c9e13 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs index 97cc870d128..36b684bb193 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for groups @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated to a plannerBucket object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs index 752154c1def..74064359609 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerPlanDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerPlanDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 17b6aff308f..cffecf3d17a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Returns the plannerPlans owned by the group. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property plans in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property plans for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs index 55abead3153..3966fb587f1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 2bad01b4a18..9770781aa7e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 7ec731d9aa4..7b0640e0e97 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 62894c3e2a0..9b1e3cc26eb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index d114751d9e3..10b8a5bae0f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of tasks in the plan. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in groups @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 64440544fbe..b994f3af451 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs index a4f7914a7fc..327ac1184cc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for groups @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated with a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs index ed7c70d3b1b..56b6de7f6b1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Planner/Plans/PlansRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to plans for groups @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerPlan objects owned by a group object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs index 8f15cefab06..fbba585be58 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs index 64a16bf6905..ef4d58ab384 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove rejectedSender diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs index 3ea848e73c2..899870f6d01 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Specify the user or group in @odata.id in the request body. Users in the rejected senders list cannot post to conversations of the group (identified in the POST request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Users in the rejected senders list cannot post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs index 61cb4eb34ec..6e11dbc466d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RejectedSenders/RejectedSendersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Users in the rejected senders list cannot post to conversations of the group (identified in the GET request URL). Make sure you do not specify the same user or group in the rejected senders and accepted senders lists, otherwise you will get an error. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs index 412e25a4555..341a92a1ca9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RemoveFavorite/RemoveFavoriteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the group from the list of the current user's favorite groups. Supported for Microsoft 365 groups only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Renew/RenewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Renew/RenewRequestBuilder.cs index 7e0cc75c029..60968bcb3ce 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Renew/RenewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Renew/RenewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs index 6a0cf1c7df2..e7a078c5b84 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/ResetUnseenCount/ResetUnseenCountRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reset the unseenCount of all the posts that the current user has not seen since their last visit. Supported for Microsoft 365 groups only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs index eb51821ce78..ee8b7c2357c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs index 5d771fc0786..9af36adbb59 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action /// Invoke action retryServiceProvisioning diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Settings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Settings/Count/CountRequestBuilder.cs index 9bb35350476..f85ed0565ba 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Settings/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Settings/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs index d5b08d8a472..2e7a63b05ad 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Settings/Item/GroupSettingItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a specific group setting object. The setting can be a tenant-level or group-specific setting. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a groupSetting object for tenant-wide group settings or a specific group setting. @@ -87,7 +87,7 @@ public async Task PatchAsync(GroupSetting body, Action(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property settings for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs index c9789dfdb05..9f4e415a4a7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Settings/SettingsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new setting based on the templates available in groupSettingTemplates. These settings can be at the tenant-level or at the group level. Group settings apply to only Microsoft 365 groups. The template named Group.Unified can be used to configure tenant-wide Microsoft 365 group settings, while the template named Group.Unified.Guest can be used to configure group-specific settings. @@ -81,7 +81,7 @@ public async Task PostAsync(GroupSetting body, Action(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of tenant-level or group-specific group settings objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Add/AddRequestBuilder.cs index 0e24c600c25..1a0a729a06f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Follow a user's site or multiple sites. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Count/CountRequestBuilder.cs index 2599d9317ba..87b50679d02 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs index a903d6661d1..f2f7b50e3ec 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/GetAllSites/GetAllSitesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllSitesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllSitesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllSites diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs index 654702bd7d7..228b58a58e7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs index 86ce8973596..5ece7a90457 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/AnalyticsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Analytics about the view activities that took place in this site. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property analytics in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(ItemAnalytics body, Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property analytics for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs index 28e25eedd9b..376eb903687 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs index e51f497a8af..de538ad907b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to activities for groups @@ -79,7 +79,7 @@ public async Task PostAsync(ItemActivity body, Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Exposes the itemActivities represented in this itemActivityStat resource. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs index 9484894d79f..d2aad331ee7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs index db3ae5c0d75..81d79cb0f47 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs index 5f2a594c8aa..6cc52429798 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Exposes the driveItem that was the target of this activity. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs index a7ff6ba5dbd..7e4f07ae660 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Exposes the itemActivities represented in this itemActivityStat resource. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property activities in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(ItemActivity body, Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property activities for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs index 4d1c89031c4..82e7630a73a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get itemActivityStats from groups @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property itemActivityStats in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(ItemActivityStat body, Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property itemActivityStats for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs index a0e6fd84605..a11f48436bc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to itemActivityStats for groups @@ -79,7 +79,7 @@ public async Task PostAsync(ItemActivityStat body, Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get itemActivityStats from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs index 79c643b5949..80f5e78d06a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get lastSevenDays from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs index d783f6562e5..37e51a93104 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs index 010a256180e..81525faf31b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index db6fbbb4966..662af9e8195 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of column definitions reusable across lists under this site. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columns in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columns for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index a98e9ec5d37..86a2ef5168e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index 40b0fa54dbc..3cb03dd0467 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyPostRequestBody body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 06dd152b20d..ee456c80a44 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyFromContentTypeHubPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs index 9dd784d36ed..889aa810672 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [contentType][] in a [site][]. @@ -96,7 +96,7 @@ public async Task PostAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [contentType][contentType] resources in a [site][]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs index af1aa056859..a2386f0d1b0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index 6e18b91f77c..12714d1c53b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getCompatibleHubContentTypes diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index 6c14600df1c..06501b9c64f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssociateWithHubSitesPostRequestBody body, Action /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index ed07641e50b..a42f9a7160c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parent contentType from which this content type is derived. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index 2958fe8bb1a..4ef1d18f3c6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index 85d61d6d4d5..51682ccd281 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index 75e21c4fc9c..f4562b33bcf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index fa4e4d3de83..ae2107101cc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to columnLinks for groups @@ -79,7 +79,7 @@ public async Task PostAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of columns that are required by this content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index 5f35d0566e3..a70fc4c622e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index fa40533ccb3..0fc3f29dd26 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of columns that are required by this content type. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columnLinks in groups @@ -85,7 +85,7 @@ public async Task PatchAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columnLinks for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index da981e1f6b7..8714f509208 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index ca352a0dd9e..e948f6976ac 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index 70fa3cb5bd4..9c5a798d3d7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index 45696cf88f7..4bc2de7f7b8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index e9dcafb1759..3ea832ca375 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 7d2974bb492..0dc7f016b19 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. @@ -93,7 +93,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index e4b21a23da5..a23ec1cd3e2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index 79d32bcbbab..9d3604cf209 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -96,7 +96,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. @@ -116,7 +116,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [content type][contentType]. @@ -138,7 +138,7 @@ public async Task PatchAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [content type][contentType] from a [list][] or a [site][]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index 53e79b4ae81..b1f4d15b2dc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CopyToDefaultContentLocationPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index 1486d4d9cf8..51175d8cc3b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function isPublished diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs index 3db34732e92..46540a4948a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Publishes a [contentType][] present in the content type hub site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index 8513afc7762..54a463cbeee 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unpublish a [contentType][] from a content type hub site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 913b5a813dd..eed699d8ded 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 74a01a173a6..8bde9381dc2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs index 8830bca9de9..d4e5d373d31 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drive/DriveRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The default drive (document library) for this site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs index bfd1777d2e9..bb0eb3b8dc7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs index 09b5fe2ac0d..f405b05f559 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/DrivesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of drives (document libraries) under this site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs index 7abca1fa2d3..ce2c217a399 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of drives (document libraries) under this site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs index 650af6552f7..3c16393a0ef 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs index 11c60111ea2..97a61fe863c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get externalColumns from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs index 8c410ae30eb..9fcf4ca0413 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get externalColumns from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index e93b3d129fb..acaf67afa22 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index e695b155112..29412c95816 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs index de0e39db953..3aec1a0630e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetApplicableContentTypesForListWithListIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetApplicableContentTypesForListWithListIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getApplicableContentTypesForList diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs index fc8c758f4c7..15590b4c7bb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs @@ -47,7 +47,7 @@ public GetByPathWithPathRequestBuilder(string rawUrl, IRequestAdapter requestAda {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getByPath diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs index 3772f110cb8..f1566b12910 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs index 8c4755b855d..4a503376af2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, BaseItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BaseItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used to address any item contained in this site. This collection can't be enumerated. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs index bfd150fb1d5..8aec1e9e68a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Items/ItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, BaseItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BaseItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used to address any item contained in this site. This collection can't be enumerated. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 2bfa8770861..7baa2bad061 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 30339596440..01d6226c3ee 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs index 865089a283f..e5a9ee5b3e4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs index 8e67bbdd33b..f0af996e760 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs index 80040188502..ba3e68727e9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 4db3ae6ba11..00ace946ce6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of field definitions for this list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columns in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columns for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index b0f4169fa8f..9d772b02aa5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index fd0f333a5a3..a7f50207b94 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyPostRequestBody body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 055dcdfcfdf..405be3f33fd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyFromContentTypeHubPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs index 41a28287541..94a3b3393bc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to contentTypes for groups @@ -95,7 +95,7 @@ public async Task PostAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [contentType][contentType] resources in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs index 4bfdeb4a830..bc34725deab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index d242a5f981b..882387c1115 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getCompatibleHubContentTypes diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index fc570a21def..60d20c5bafd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssociateWithHubSitesPostRequestBody body, Action /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index 7adf976cf0b..81945eca137 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parent contentType from which this content type is derived. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index bc871ab8a4d..4aaec542f30 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index 0c638fdbb4b..56452c81748 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index ea40126fb53..bd1572bc118 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index fb4706cc3fc..3cc06a08e05 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to columnLinks for groups @@ -79,7 +79,7 @@ public async Task PostAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of columns that are required by this content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index 8a3a5c2f7a2..6d377b9919f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index a764f968796..84f80cf7f28 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of columns that are required by this content type. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columnLinks in groups @@ -85,7 +85,7 @@ public async Task PatchAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columnLinks for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index 897dfc6afaf..026ecf2bdf5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index 568e7a1af36..6106e651703 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index 36233d92c2d..75a6feda789 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index 861e5f7b846..c2ac90223b4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index 87036015c6a..06ca76fdc7a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 1229e687413..066ee5dc808 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. @@ -93,7 +93,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 5dcb4929691..b5056ce920e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index 31454ef1248..a7e5b7da435 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// The collection of content types present in this list. @@ -114,7 +114,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contentTypes in groups @@ -135,7 +135,7 @@ public async Task PatchAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contentTypes for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index 802986916d2..702aba7f409 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CopyToDefaultContentLocationPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index ddeefb72edb..dbaf9603c06 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function isPublished diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs index 272273df3e1..0599bb4d0b0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Publishes a [contentType][] present in the content type hub site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index c6f827fa764..237b1bae342 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unpublish a [contentType][] from a content type hub site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 8714b88deca..04e9c6b81d8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 8367db66c83..9c931eeb653 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs index f0b584d48ef..5284ead25b8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs index b6781f44210..b5739f4ec5d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Analytics about the view activities that took place on this item. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 4133101abc4..d7b63aa8100 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index f66efc38a88..2fc1e290913 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs index d640ae0eaf4..2a1c1ef433b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs index 14d381cfc21..5798fbe888d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new version of a document set item in a list. @@ -81,7 +81,7 @@ public async Task PostAsync(DocumentSetVersion body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the versions of a document set item in a list. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs index 8da21ce8378..34324300901 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a documentSetVersion object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property documentSetVersions in groups @@ -97,7 +97,7 @@ public async Task PatchAsync(DocumentSetVersion body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a version of a document set in a list. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs index 320a20c668f..b5e004b2827 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in groups @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs index e1259e4c393..7897c29db14 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a document set version. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs index 963650e10c6..55340b183bf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs index 0e0f776b759..24a50dbdc6f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs index c22ff6fe6f1..bf4347070f9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The values of the columns set on this list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties on a [listItem][]. @@ -86,7 +86,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index 5ddac940c85..ba54eb176a5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index 0786e60f81d..6763425a6af 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index fc141ca959a..097de9ee9ab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 97907133905..5fc4ac329f7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs index 911c5cf49cd..fd5f7f3eae4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action /// Provides operations to call the getActivitiesByInterval method. @@ -119,7 +119,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property items in groups @@ -140,7 +140,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes an item from a [list][]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs index b70f33608b0..b41fbeb181a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs index 2572b0d3a0b..25af287bc88 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in groups @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs index 746b21f41c0..53ff3b8d1bb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a specific version of a ListItem. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in groups @@ -96,7 +96,7 @@ public async Task PatchAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index 1997a57c565..d8761bfc474 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs index 1fb9743b74a..e75b9407cf3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for groups @@ -80,7 +80,7 @@ public async Task PostAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs index de10b423299..aae10cf7ced 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public async Task GetAsync(Action(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [listItem][] in a [list][]. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [items][item] in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index dadd5cb9add..44857f0e214 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 73090f0ed2a..38d186f05af 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index 42fe0bfd7b7..fa14e21b3e7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Get a list of rich long-running operations associated with a list. @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property lists in groups @@ -126,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property lists for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs index 006374e8eef..a3b26c6ee1f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index 69717334a4c..f8dba8e6d78 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of long-running operations on the list. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in groups @@ -85,7 +85,7 @@ public async Task PatchAsync(RichLongRunningOperation {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs index cfecab60300..2c436b932e5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(RichLongRunningOperation b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of long-running operations on the list. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs index 7a4f2f16146..88a272e7c73 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index fcebf29b3fb..aa83625fe59 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index c21b9d7ba3e..1ed1009084c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The set of subscriptions on the list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property subscriptions in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property subscriptions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs index 5a5e5d4e459..0e4122c56ce 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to subscriptions for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The set of subscriptions on the list. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs index eaf452f5ef7..3ec58b577be 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Lists/ListsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [list][] in a [site][]. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs index 4978c1ce2f3..35c44a0bccb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs index 0473dade2c3..2800ceb7b1a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(GetNotebookFromWebUrlPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs index a8d0a6d942f..d6c5f1677d9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getRecentNotebooks diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs index edaf153b222..71a34e9f206 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyNotebookPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs index b7ae87a7ff8..679efe14bd8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a notebook object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property notebooks in groups @@ -101,7 +101,7 @@ public async Task PatchAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property notebooks for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs index e8878cf46a4..a8479a85a16 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 06ec528e16a..c0c38fe2064 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index c9fb040d07e..401e5e16ac1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 4145be98aa2..eca9716d7b7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// The section groups in the notebook. Read-only. Nullable. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in groups @@ -105,7 +105,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index d3646c04ba9..363c0c2c9f1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index b20920323e2..e5e7f716690 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index af2b2ebf14a..99272703ac2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 6e4b3bf1066..c6fff7f6f37 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 4595e44af15..14425c8fc7c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 5370bad6fba..6a3ae0b3fa3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 86d47da15b7..f4b07c04439 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 1c47805299f..0d81b476981 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 93735566113..e285ff82c20 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 0fc8e785328..bf4a13c2dd4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 004e73d7984..772249ea7ce 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 6e930432fa7..c4e6420a07a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 78e3890ae99..507a674c642 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index a3966a1f577..d2549eec4b6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 3cb35f8df24..0b344dce2a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index cf2580097fa..4436eb66c9c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index f22825d202c..e23783b8eb8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 442745ccc49..f4b7bb2fc49 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index bb051b1f697..4b8ffdaf192 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 6af7f107fdd..543493a9757 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new section group in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs index 5c5f94fe9ca..7cdb75b6667 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 329bd804a2d..11521795230 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index b1815e2576e..6dcdfc43efd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index c473fb1e348..689cb7b749f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the notebook. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 8d8406ab711..1e6cf3aabd6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 50f480bc2f2..9d8bf620ad8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 994f288dd6c..727f4263532 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 2d72c03cb2c..acf05fbcad1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 6f01b4995e2..0933aeb3ebd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index d2b3f60d3fa..134ef8b77f6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index f9f847e97f3..2d5bc603543 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 7b3d0e52ef8..d03477c1c46 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs index a03373955cf..184050bee63 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 1269d61fad5..65b3906d07d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index bb694bba298..a2765899670 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs index dded0fe36bd..63582fe7413 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs index c3bcb1cd5c7..3871eac8379 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getRecentNotebooks method. @@ -95,7 +95,7 @@ public async Task PostAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of notebook objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs index 47d8bf2ac01..4b8c5c25173 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/OnenoteRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Calls the OneNote service for notebook related operations. @@ -94,7 +94,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property onenote in groups @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property onenote for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs index 1dadd8d7696..a00ded17982 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs index 2c7bacaa5e4..b105475869f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs index 033fb9cbd93..f95072b2dc8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs index 5913e67884e..de87358adb0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs index f949d507b1b..3c280358f8d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index c0ffa394e12..ef20163c4aa 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs index 63677ab3cd3..fcf758854d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -117,7 +117,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a OneNote page. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index f34bfdd0d8c..fd57ecc673a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 027eaa39bf1..34019e8e1a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index cde4c1f01af..a7ee47027c6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs index 1cb2bc7fda1..1fa6fd94bbb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs index c99be030548..b32785c6429 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs index 6558ccd3baa..693da18c6c2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs index e4abd9741eb..fe67e4a2082 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs index a8e92f230d3..8af21c9ea74 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in groups @@ -90,7 +90,7 @@ public async Task PatchAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs index a68f0ab71cb..72add0d9c29 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for groups @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs index c8e3e102807..33672776796 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 2fdaceae88d..45a85fc1940 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 446144ce942..a24e75c4560 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 0f943ef475a..5aa7cc7ee88 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a sectionGroup object. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in groups @@ -106,7 +106,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 3f370b28ad6..f8cc81a5332 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 69552a47ea2..34bdc553665 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index d1159626621..6d6d5dc90c5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 0dce9477949..26d9af933b8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 47fbdabd201..102c4fb1e91 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index a08cdd21480..2518ca46891 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index a56d50bc9ea..b7d6bc1a30a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index ebb9a555a7c..227198dab2c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 4fad6ad2dc5..ba0cd3356b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 915b87dbf2f..8569b65f3b6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 1a560a1dd9d..80d58673015 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index bc450ee3b16..24f471cf3cf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 2e5740d17c3..9f82d322e94 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index b9b54f0648f..8e27687cddb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 2c240fe3461..1b15382d0d7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 97fca7a2ffa..7aaf9e04f54 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 7b9c3691102..494f963a402 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 7cc33c6ce53..74781ad6a63 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index 8d724332156..d1ea7386629 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs index 222b8adb5ef..d3d9801ff5b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sectionGroups for groups @@ -80,7 +80,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of sectionGroup objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs index 93d7940bb9c..470bbdb46a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index c46b48cf411..88cbeea970b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 353aac251d7..5faa64d5b40 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs index cd14ffec933..f6b39d6e0cf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a onenoteSection object. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in groups @@ -111,7 +111,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs index 29a62c5c2e6..c8a5962d900 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index f5847801350..1e3dc030a17 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index b55a18fa21e..778cf82a34b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index cc43bec376b..86cc01a18f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in groups @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 4c597fb96ea..57dac0ec6b6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 98bc09276dc..021eae55935 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 44237be484e..3bc4ffea259 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index aa5085db75f..d8e7b0a9978 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs index e9de40206fa..dff17698264 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index a333be33eec..78e19188df6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 68d5611da09..cb03d976ccf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs index ced2647ac69..981cc05e916 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sections for groups @@ -80,7 +80,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs index e67ee4e9f00..4c840db3091 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index b0248f8b18f..d04e4408abd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of a rich long-running operation on a site or a list. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(RichLongRunningOperation {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs index e3116b24ce9..e7d791c2d7c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Operations/OperationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for groups @@ -80,7 +80,7 @@ public async Task PostAsync(RichLongRunningOperation b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of rich long-running operations associated with a site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs index cc72ed70045..6b3f175b9b2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs index 5be765594f7..d807da2e9e8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GrantPostRequestBody body, Action(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Grant users access to a link represented by a [permission][]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs index ce4b3a156be..b4d633479e9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a permission object on a site. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an application permission object on a site. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a permission object on a site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs index 51b9564d410..7ca686beca1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Permissions/PermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new permission object on a site. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the permission resources from the permissions navigation property on a site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs index 5cc33047dc5..9b990c5cb46 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/SiteItemRequestBuilder.cs @@ -153,7 +153,7 @@ public GetApplicableContentTypesForListWithListIdRequestBuilder GetApplicableCon {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getByPath method. @@ -182,7 +182,7 @@ public GetByPathWithPathRequestBuilder GetByPathWithPath(string path) { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of SharePoint sites in this group. Access the default site with /sites/root. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs index d74a33f05be..e2b67070648 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs index 2e44f05b25f..e264c1db5a8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs @@ -45,7 +45,7 @@ public SiteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of the sub-sites under this site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs index 45da8a15289..4543d91cea0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/Sites/SitesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of subsites defined for a [site][]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs index 5fc26bbcc79..d4ba3e299a7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs index 722289f9ae6..7d53b03d061 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new group object in a term store. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of group objects in a term store. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs index a9e2925a7fc..5f10672c8d9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term store group object. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property groups in groups @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a group object in a term [store]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs index e92dc00242f..f892e04cd8c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index ff27309a33c..1585b96e71f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index 097d9b1885b..c7687ce980c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 6364b2e4023..bae270d3dab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index e9432c088a1..93017cc5125 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 1efe2d14f89..15224f7acd3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 8e1bbd53ddf..e2411b80eef 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 0907ce35e95..49f55c05c6d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 6b091678569..05abe73bb08 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index ba8203a318b..c877b52d6f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 39c3c959dfb..20228d138c1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index d5a3f414918..2acae8f15df 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 3e532ee2b23..01d7d75c830 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index a18a4e64a0c..b24be510d47 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index e84cd62888d..14f4a02bd9f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index e6162d30b12..56c9fe7777b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index c05d8764353..1ba11d6b94a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index ab70168ae45..ef23f5b7283 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index d5544244256..4c9aaa2f5a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 5f8ded835e2..852363c92e0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 2ab9d89ba40..d740fbde0d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 744d21aee5a..ce8bf98bb9c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in groups @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index 5679ee97368..d996005fb1e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 5789021a7e2..b5572733063 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 8f45a896bde..87527eeedd9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index e14635a3826..f0ad5dba73c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 40a4de5ab01..ca15c9bcf05 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index a5a90169222..a23efb2f640 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs index 327c9376b1f..f8824b17af0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in groups @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index 35dccef88d9..6629b7570c0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index 30f0fb5205f..ce35becdde3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index c2b6a389e66..e83be4d1a33 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 10d7ea9907c..0a02e2f3447 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index fe66a5bffa4..81c43f79975 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 5d894762d99..318492d5819 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 5b4fe646ad5..d7612506f87 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index b975ec85b5a..3dbe693d467 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 47fe23d37cc..1db2e6bbe02 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 3f19309644e..0d15309aacf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 5858af8b2f2..a27f8f48cc8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 25c0792ea72..caba71df0af 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index c7910b00061..57f5696840d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 34348904b39..479c722cbae 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 5b5232f048d..e34d7a928a2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 965676b955b..0906c15885b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 26a19f4cf81..a953ffea5e3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 9f3a4f8203e..701280d3691 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 3ac9c7e3e29..cfec37a03d4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs index dde5a4fa5ca..3693bc16a83 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs index 235a8f06ae0..14c10f82e2b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for groups @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs index b57025da4f5..6f1bc6593de 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs index 82e2849092b..321efad107a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs index 64dd4adebae..264f44a636d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 4af37c34a92..f7f23f461b0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 1e965b638ac..21346ea354c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 7a20739c142..4f7caae4231 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 21b932e9803..ab8e3e5ae71 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index f666fdc600d..5d4bc4a5c74 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index f2e0c40d528..07c442ac7e3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index c6ca75a6c4a..07328019db9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 96afe1eb92f..0bad6cedb12 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 69200b3c3cd..6f0f7971846 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index c90e8ce6f26..374d4c96fa4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index a0520c70a54..30ce4dc57f8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 35261d87453..c5a10938dcd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index c9563264d45..2e344d074f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index e8277220862..1e7287bc427 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 4db6ec13379..16dd614dba9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 63c89a01ee7..63a91ec5eca 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 6eca0b10e35..d123d72900a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 4cf2ce24670..e14ad8afce3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 21ca73f549e..b6450484edd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in groups @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs index bd6effde1eb..226c6247ec2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs index 59455e0a0a7..89c8185c8f3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs index 482766d29aa..4953fff5cb2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 52511c1cebf..5c2cc829628 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 17b7c532563..e144febe2cf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 535cadb4d06..7e7c777c40a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 3887556b053..423d1991fd7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index aa93be661a5..51201189303 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 330309090b8..d04628c216e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 8d0330542a9..0b1fe20d6f2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 6ae7b942eca..2783f3d977c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 91a01998643..f4f98b35e65 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 1514deb33bd..230c0754243 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index df7ec63ccae..4002f49f67b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 453bf0f1513..ce7095d8573 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index ebce59a8cb4..7fe19e37701 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index a04f6d16987..457142160d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index cf615f4fde0..3e6df3803cd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 678fb3988d9..b9390adbe1e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 86505033be4..e27953f584a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs index df97223b8c5..f2b8db2ddd2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs index 6111534af87..773f1d342b6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index d9586c2a348..2efa5fe4137 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index fde6a1acb9d..8407a661ced 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index ae8f4152657..7998df597c2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 0b1c217c380..9d3b87c4027 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs index c83a4ee773c..9d07a3e3303 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs index 8ccb20fa5ef..f8cd4ff5470 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -79,7 +79,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in groups @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs index e06cf60ef04..f8c7958fad3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index 1be8955894b..56e6a3f0a45 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 022732c1ea4..a9d8ebb021b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 44d341fce30..3ee941e23d5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 394d89eee75..12492a4620b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 92ab2fe548d..7ebdb64a966 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 6fae2047c71..b0281ec49df 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 979ea3df22b..cad85e4455e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 0aa31336fbe..a0ad27b3c9a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 4fdf36746da..be42283cc13 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index d65a4e951c0..2fcc5274715 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index d4022b6384d..d5105136ed6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 39dae8e9bea..8396b026cf9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index ceae70e9a35..797d7de0142 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 45064b7fb35..1d9ec4d145b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index d86988c8538..7ba2886c78b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 0c5123d36fa..5cbe10473d6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 3c72282cc61..875a350c51a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 285ad545c03..8eb2ad09d45 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs index bd4824ed0f0..5fc0b4c484d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs index 0af812d502f..e5bb389df1b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for groups @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs index e629b6898b8..d3eafd9ad8e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index cce7900a36f..49d1947cc61 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 92bb25f4356..8c9d491707a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index a994c3d9e6a..6a735d19320 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a627b8a8768..69b936686ce 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs index 2549d7db8d2..b66b52e3fff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs index 28242a6738d..eb1ebd681e5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a set object. @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a set object. @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a set object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs index c4336369806..c8dad12e0cc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index f4d4d0b4849..ea7b0eedb0e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 7d5bdbf5432..0ff55e75792 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 1dbad148b21..b5dc7626027 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index a813de8c07f..9b60cc7596a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index c73826e9581..5cdfa1e802e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 1765f15823c..4acca8a4e82 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 0dd16dcb097..4c556314c78 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index f866c813e48..e4ac86e493b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 517a442951f..d3e420cdea6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index b93eda6e4dd..8f508d03917 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 206ac35a0c2..0962b2f6c36 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 431d51abe4d..5c7196e5a97 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 859a9a92393..d9ee068a326 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 67f83a56560..2cab51acc5f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 6c56a41bc9d..a0f7efae405 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index cecdffb5000..1591b7c4622 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 22a193abaf8..9f6112f24cb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index d52e1b811d5..7a9598de0d2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs index 78bb95fbcd4..595ebc288d0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs index 475c562cd3f..aaef738828a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new set object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a set object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs index dbf62a69091..38781e91961 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStore/TermStoreRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a store object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a store object. @@ -97,7 +97,7 @@ public async Task PatchAsync(Store body, Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property termStore for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs index 2ffe023e669..9ad830909a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs index 11c417dbcdc..cb226433e1e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs index a93f6c75512..28047e663cb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new group object in a term store. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of group objects in a term store. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs index 71607bedf55..660eb2f3f21 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term store group object. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property groups in groups @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a group object in a term [store]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs index 9b0b2a39a28..d1eae216970 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index 969bfb49017..1ca24a97f8d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index fd93fa1b0e7..af846e87985 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index c37543a8a3f..09eae729c2b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 17be397ec46..9d969de6929 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index dd72b1254c4..c6d99602509 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index b3fca20eb7e..83c469ce460 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index fb6f5266b50..ea57e43d2ea 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index eb41c21f4e8..6a13ab6f6b6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 781a4197703..73656ee80ea 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 6ed5e0cc2fc..ab92befc1f6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 687fcd994a2..52bf6288479 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 3569cc206e7..ff6c6afeb27 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index eaa837e6650..3c84f01e1b0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 66c85537b36..75c10071589 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 96971b86d6f..b0cc77265b0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index a1677f1a191..7c21fb0621e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a234f83f83f..9f19f5d17ab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index e4b2ea8e7cd..a7d15d102b7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 0395cc8886a..3978325f85c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 88ce4a15ced..42641b010db 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 52933674128..d80dff619dd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in groups @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index d121df968be..f357444108f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 7c7602b479e..a9ee3593c8e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index a344366140c..b78d220d140 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 9022a86cff7..59141ed9755 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index ceb1d1b1023..6d1114c68a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index 3018f11f5c0..deea67033b0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs index 31049db5fa7..cc6c65e4a92 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in groups @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index 6aa2d813d08..98713faf862 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index ddf553d732d..11054ceb71b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 18c93b9a470..25b237855e9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index a17d5260d9c..3459cb23089 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 8071e97dc9c..a333db5b08d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index e73f8b3e5cb..78bbdef99ee 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 2465b6538da..da22ffef443 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 642185e3cea..14ae0e0daae 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 86f47558171..1a23270051e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 0fbae6ce503..51c33fc4241 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index ca8760e495a..533b9c56570 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 7d57bfc3cd8..a50c8157e11 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index b363cd1c549..d21ef97e3e9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 5ebd4f80fbf..af2d84f748c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index d6109463c2e..562dac5267a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index f2bb93e8d4d..b312b3ab17f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 28f35ef9602..bdbffe2ce2f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 73d4601b42c..99497d3056e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 43aa385f2cc..af4e5e690db 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs index 4c668484d95..f125017de2b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs index edf2e789eb0..0cecccf873c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for groups @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs index da90139cca2..d09d9ab6cd4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index 5ac9fdeb768..31a4977fd55 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index 2adb08873c7..9308b051392 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index ca6e8c76930..d6b7d257013 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 8bfbe2164c2..d4a0d019656 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index a9bdf959cff..e0b1d33c12d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 80f594dbcf0..3f752a9bca1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index f6e73a4084b..339e1b11d65 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index e8a8f45e072..7361f6dd412 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index d584a90208a..f11c2b39146 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index bb40057b46c..08fdcc346ca 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 7794336a8cb..76f1a3b1331 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 91f3409334c..0885b10a03f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index c15a5be5ced..4c20b9bbc81 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 0cc125c69eb..64b7dedbc59 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 0ef1a1b697b..d7c75acdac9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index a8a1f60f005..2d1254c441e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 321d78ff5c9..e7d70009ab8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index b3370740f91..e51e0ad0ac7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index efa7f53a77e..07b60f4730a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 82245125faf..d061513d8d1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 2367abd5c57..16169f3580a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in groups @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs index 4923a315213..16f763317a4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs index 04abea03334..81245e76494 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs index 6d6725b960c..1ce0b8a5a2e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index f244ee72472..5215bfa1f24 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 13a90147c24..4001779bafe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 0dcc4f24f32..36db15819ed 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 35c4ad9d405..36b53fb2c04 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 0ab19cf6f30..41707647986 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index f68937f3f1d..081da9f1004 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 006425c0cd3..1e22eddbc0d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 6892494e054..90e1e823878 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 47cc59b4219..2f9c919f6d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index b7a1196aabf..330f4e03cd5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index e9d4cb4ed6d..adc0e22b8c8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 70348a89be8..c452d9dfce0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index e86423b8987..e036c3989ca 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 15fb5501c28..f5d30c83ba3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 303f0f7c337..3915157c128 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index d94e5ceb05d..b8c517101e5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 8c9bc1125af..e2bf3ce84f8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs index e32e0c14dbe..6caf8ebd012 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs index 8d206f09194..4c59612f503 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 24664dab4eb..5451b2816cf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 81fcbe73619..64446accaac 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 8f983337c34..c7b301edc24 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 2d721a35261..61d4fede443 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs index a6780fcc41b..ce3bc392f4e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs index 71ad78bd445..4275ea9d92c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -79,7 +79,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in groups @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs index d4150ee0b54..c53149030e0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index ac2af3a269d..5ac43c3c0fe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 4b7d015fd07..0f47dc1729c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 44f2d3ef78b..9533fdbd33b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 6c99a4c3923..89be5bd04ed 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index b42c0a8cb61..dc28becc64d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 8558e852d03..81677160e3c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a5984caca51..32cbddbd796 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 59e7226a653..6246d0b565d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 191f0dfa556..aea7bfa0c79 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index cdcec64f3fe..daee84d3700 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 1d40c177e2e..cb3f4c156ac 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index b585dcc2c02..51d13e2d500 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index e46856ae145..76d5015d6e8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 152f0e468b2..3c6407cde68 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 620fdede7d1..1b357ea3ee8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index ee9477ec784..45d3cf9ebfc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 8cfab31c6dc..33104712873 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 06313f5ff67..9bb647a1701 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs index 12ae4503bbf..3499b61e1ba 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs index 33f2cba77e9..6a8ca5a6bf7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for groups @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index 259afd9f61e..6ba0d66957c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index bbc4d170d46..64126c1ad57 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 850fcfeb110..8e83f509c45 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 8d5d43e319a..80e196fb57f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 871452bec88..87a7ffeefdc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index 8bcc4e0f2ab..b7d86fa5d2d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs index a992cecbd7e..b6265f02a75 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a set object. @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a set object. @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a set object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index 9460fc77ef8..0bff91681a9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index f74f4f3fea7..a0d9882480f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index c7abb551b74..d5908ec20d1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index f7899a4b952..b5c541240a9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index d56cc57d132..3df160274ab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 5371641c2a6..0edc330a0ff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index a45217f12f4..cc140baba4c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 93de3d506f2..b803de05462 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 4e0112c380d..4b34dbc0afc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 4fb2a47122f..cf230262bb9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 53e38c125f6..042d81f0d51 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index e9b3de1b998..2c544354426 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 4ad6d5ee28c..8093863cb75 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 218d8779086..66551bc5947 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in groups @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 3f1782064e7..8ffaf6a730f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 60167d9b267..877207e74b3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index de7ceadb6a7..a8754719b98 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 439fcc018c7..3384748619d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index e3f42b21865..f3958aaa24f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs index 76c70aefc1a..994af757c2b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs index 741fff62a03..b0798062dc4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new set object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a set object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs index 310bb28548d..507dc94de0b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// The collection of termStores under this site. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property termStores in groups @@ -95,7 +95,7 @@ public async Task PatchAsync(Store body, Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property termStores for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs index e98401f4ed4..42d1dba82d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Item/TermStores/TermStoresRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, StoreCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StoreCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to termStores for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Store body, Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of termStores under this site. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs index e87c77a5cfd..a4806a6cab3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/Remove/RemoveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemovePostRequestBody body, Action(requestInfo, RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unfollow a user's site or multiple sites. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs index 8589dfb57df..3009e812627 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Sites/SitesRequestBuilder.cs @@ -73,7 +73,7 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of SharePoint sites in this group. Access the default site with /sites/root. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs index b1ffa49aeb7..5887cdfea58 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/SubscribeByMail/SubscribeByMailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Calling this method will enable the current user to receive email notifications for this group, about new posts, events, and files in that group. Supported for Microsoft 365 groups only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs index 579512da5ba..0e69f6c718f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/AllChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of channels either in this team or shared with this team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs index 7e6ae5325cf..e9256519a95 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs index 201a00e431c..7be1358f973 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/AllChannels/Item/ChannelItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of channels either hosted in or shared with the team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs index bd01b99a6f3..e1d60b760f7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Archive/ArchiveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ArchivePostRequestBody body, Action /// Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs index be3b1bb4e82..f482efbcb43 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/ChannelsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. @@ -86,7 +86,7 @@ public async Task PostAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of channels in this team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs index 1d2dbc69dda..872dbf86a81 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs index d8a4a6adb9b..0cb718f89bf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs index d4c5d496c44..855f99b1ba9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ChannelItemRequestBuilder.cs @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. @@ -111,7 +111,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified channel. @@ -133,7 +133,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the channel. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 3e8d9c39204..17b48c6bfef 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 46799b9face..21994f56c23 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs index 74437938f84..bc2a3282882 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs index de8a07df812..4de31ce8f6b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs index d1c3d2fe84c..ca84a7e832b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs index d4a46413794..039cfeedd0c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index f5a2988f563..0e34aec358d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs index c968a388dd7..34b0aca95d5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs index debfcdaff86..41fc636057c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs index 4c8217ba8a3..72a8b6a9a22 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index 43bdad8dea5..9d74197d8e0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 298390411e9..7bd3171382d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index fb43dffe14a..1aefa67ac90 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for groups @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index ae97e05ea9f..12e7e2561da 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in groups @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 4f407ae0ba3..3a2ae74ae93 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in groups @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index d0ab28ee935..1dfc7944b99 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 46d4da3d6d0..edf4a1c2b57 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index d92ca504a28..60be6bf1428 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in groups @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 77d1b13f32e..c27572ae49c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 20794d6d56e..257e296c8bc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for groups @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index ca80563ac11..fbe2fe613c1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in groups @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 80e61eaa428..0fd0b275da8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in groups @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 4131b5db7e6..5fed376b4cd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index a76180e8941..32b7c278c8b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 1d0c878fb87..a686eaef741 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index a0406a7096b..a980589492e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 285b42dcee1..dd2cb3fd72d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 932a5c67331..5abb7a0be62 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index b72333091e6..445a037f5f7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 5c982a23a8b..682772206e4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 2a2d78307e6..e6cf40c91ea 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs index 35ea57f51ae..42d9c0c9f40 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 8e26c87f241..26c433742c9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs index 4e85da676ba..ad39dcaed33 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs index 59e03bfe672..b05d0b5b009 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 8f4ca1ff697..4ee5d710330 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index bb8ecd134a4..6b0ffcadd3f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index f6dcb962f1f..dbdfd637991 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 023380b3f17..0534d3c6b7b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in groups @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index 230fbcb9ad1..813ffece3b9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 9d070fe880f..721599de3e4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for groups @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs index 3d5a113a1ed..98e993a8899 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index fe54fe814c0..5827dc5cd9c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index 827eb30b873..969a7e361c6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs index fc5394a2b7e..556bfc9eef9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Channels/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs index 7b9ebe010b7..4d77687a060 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Clone/CloneRequestBuilder.cs @@ -28,7 +28,7 @@ public CloneRequestBuilder(Dictionary pathParameters, IRequestAd public CloneRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/clone", rawUrl) { } /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// Find more info here /// /// The request body @@ -47,10 +47,10 @@ public async Task PostAsync(ClonePostRequestBody body, Action - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs index 0311eb87f89..117f080b578 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Group/GroupRequestBuilder.cs index df67e20f7a0..6dc2d670e71 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Group/GroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get group from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs index b902625ada8..504da15221b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs index 26c3abd56d4..a5b46846055 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/IncomingChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of incoming channels (channels shared with a team). diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs index 54d9a5721aa..03d581acab8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/IncomingChannels/Item/ChannelItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// List of channels shared with the team. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an incoming channel (a channel shared with a team) from a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs index 0800755e12c..371c2991eb4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs index c210a77466e..9438b474885 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install an app to the specified team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsAppInstallation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of apps installed in the specified team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index 37697495143..d5809e6cffb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index b092ad07b8f..43f0fc8b48b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index 1ef06e8e862..9b93967c909 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the app installed in the specified team. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in groups @@ -102,7 +102,7 @@ public async Task PatchAsync(TeamsAppInstallation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstalls an app from the specified team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index 5521f91d8a3..d420efa720f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpgradePostRequestBody body, Action /// Upgrade an app installation within a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs index b3ecc33c88f..a58d09515d6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs index c275e8c6bc3..122a2ee5bd3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs index 69264e6a641..690c113bcb6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a team. @@ -88,7 +88,7 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a conversationMember from a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs index c1437d686d6..4e0742e563c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a new conversationMember to a team. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the conversationMember collection of a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs index 1656e5aedb8..5d08d056624 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs index 4f42b255bd7..c1bb4e1cdbe 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The async operations that ran or are running on this team. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in groups @@ -85,7 +85,7 @@ public async Task PatchAsync(TeamsAsyncOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs index 0a61a403469..81680e91787 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for groups @@ -79,7 +79,7 @@ public async Task PostAsync(TeamsAsyncOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The async operations that ran or are running on this team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs index f19524eef14..b81965f1485 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Delta/DeltaRequestBuilder.cs index d9461914ff6..11659239448 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 72ef319cbb6..be577d1459d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index 7a3f41445a7..b75cbb318b9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 8681d1e4a9c..2de2c75e80f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index b07013b1540..41174f4dbc1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 5e236d6e2eb..7d60a867061 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 11b43ecf1a3..c6943b61c03 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index c9eed13330a..a70509a174e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A collection of permissions granted to apps to access the team. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in groups @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 3251cce2d14..6461cddef6f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs index 83ecd2fa7b3..ca141456ce9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for groups @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the team. This list specifies the Azure AD apps that have access to the team, along with each app's corresponding type of resource-specific access. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index d83916b3a4c..75ab28677b5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs index 943da518a8b..72413dc82a0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/PhotoRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in groups @@ -72,7 +72,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Azure Active Directory. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs index 4fa9089b404..6f410b8155a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Photo/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in groups @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 625e6814ee0..d95dbdf3819 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 51886524f48..a1156c57b2f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs index 458e051cebe..223aa1bbbe3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs index 339e98c8b8d..d43ce77cd6e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs index 1a72bb16179..78e2b37cddd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs index c4916065fed..72fa2886b8a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 2547dff0bcf..e2a94926f55 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs index 20a9bab9ccf..9254e60accf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs index 84447fdc296..3898d33b163 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs index 32db70e60d2..fd11a36c16a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs index cd55cdb9d9e..25d2dd7cd96 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 14242157755..98af9c8c7eb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 2de319e2bf1..c2d0ee24995 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for groups @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index a361e75f667..a38b0800d30 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in groups @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index fa62d939c9e..4aa63193883 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in groups @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs index 5656d1adc44..226051ccce1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 1fbfc28df57..7dce9d80b31 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 9dbc64be961..adff1110931 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in groups @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 219b32e008d..ba60f7f0d64 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 843f36849ba..1c0686ece61 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for groups @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 5c14f886175..cf1fd6f2191 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in groups @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 056336b8463..9e6290fd323 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in groups @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index c844a612c11..aae33481171 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 3bd648c19d7..ea48898e357 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 32c152ebb0d..bf14c5844c2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 7c368ed0320..d7eb3f7af6f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index a6787ec409f..b3626955550 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 2feb07408d0..bf01126aa85 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 96e67e4c9f5..69644a9ec95 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 197ac81819f..ab4e7ecd6c9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index aee1103084a..13495c843db 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 0223d322e64..c0a3b7393ed 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs index c2f1b128e28..2de3946cd96 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Get the default channel, General, of a team. @@ -110,7 +110,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property primaryChannel in groups @@ -131,7 +131,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property primaryChannel for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 86aaf9228cd..ff2677352b2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs index c49f7b3637f..2cba510c3c4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs index f151a2bdb45..77f2327e9b6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 2b7b6c3c47b..e7209363f5f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 752d9166fcb..e2205248393 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index d33557bff84..350c316aa96 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 0608037459a..ce4d2097b97 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in groups @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index c02c3a5c466..7bb0f6b9399 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index d7eed0b47be..fca98f0c0ff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for groups @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs index 019c7e1da24..d3bed075995 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 023b12e459e..84ea1f87757 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs index 62ca588dd4b..f470729204f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs index 57894f1499d..243ca663a32 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/PrimaryChannel/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs index 83331119581..dddf9d09f91 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs index 253d621e7f6..ce44571ab5c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an offerShiftRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property offerShiftRequests in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property offerShiftRequests for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs index 2acbc7268fb..149e428c5b2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an offerShiftRequest. @@ -81,7 +81,7 @@ public async Task PostAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of all offerShiftRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs index feed18c133c..fb38b6a2e94 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs index 3fe86560d3e..8848c0cdccc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openShiftChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property openShiftChangeRequests in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(OpenShiftChangeRequest body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property openShiftChangeRequests for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs index a0a87e8f36e..5c341bdb5fc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create instance of an openShiftChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShiftChangeRequest body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of openShiftChangeRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs index d1fe2f666cf..fe3f9b32f09 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs index 5a4435f4bda..e8bf6fb622c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openshift object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an openShift object. @@ -88,7 +88,7 @@ public async Task PatchAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an openShift object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs index e9ab9ef906b..3159cc59828 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an openShift object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List openShift objects in a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs index 9ceace24c79..304ccdf1596 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/ScheduleRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schedule in groups @@ -136,7 +136,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schedule for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs index 364a569ee3a..fa90e58de3b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs index 1f73467ab1b..5d23e35de25 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedulingGroup by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs index 7d98fea983a..bcbee7cb386 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new schedulingGroup. @@ -81,7 +81,7 @@ public async Task PostAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of schedulingGroups in this schedule. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs index 4ddbfad824e..a38f57dad59 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Share/ShareRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SharePostRequestBody body, Action /// Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs index 22fd252ddf2..1153f5079d8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs index e3141d21b74..7714e9f476e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a shift object by ID. @@ -66,10 +66,10 @@ public async Task GetAsync(Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// Find more info here /// /// The request body @@ -88,7 +88,7 @@ public async Task PatchAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a shift from the schedule. @@ -141,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs index 85ae5af1aac..ceb9b0074a6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/Shifts/ShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. @@ -81,7 +81,7 @@ public async Task PostAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of shift instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs index afd0cc7d1f6..06c0bfde86c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs index bdc59b38158..fe0e43d4f2b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a swapShiftsChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property swapShiftsChangeRequests in groups @@ -86,7 +86,7 @@ public async Task PatchAsync(SwapShiftsChangeRequest bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property swapShiftsChangeRequests for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs index 31213f10352..19178efcab7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of a swapShiftsChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(SwapShiftsChangeRequest bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of swapShiftsChangeRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs index 8cddc9c7066..d9ca20d3097 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs index 363b115b66c..f82785b8b2e 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOffReason object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs index da4cc3cd84d..4366c19d9b9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOffReason. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOffReasons in a schedule. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs index 1c2bc5b5b58..8b280a4e480 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs index 35f02e42371..00731a53ff2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeoffrequest object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property timeOffRequests in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOffRequest object. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs index ab7667315bb..d4f3f80000a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to timeOffRequests for groups @@ -80,7 +80,7 @@ public async Task PostAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of timeOffRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs index 38be0f3637c..5bdfb1185dd 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs index ef2e8507cd7..dd3650781ae 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOff object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOff instance from a schedule. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs index 83530dc97d1..6f73aa8310f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Schedule/TimesOff/TimesOffRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOff instance in a schedule. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOff instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 5a36b3dde50..7580ec9334a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs index 5a4ddf4062f..d5ac7cb37bb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs index 07354fdcbc7..edf04272405 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs index e6f352adfba..6ff390eda66 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a member of a standard tag in a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in groups @@ -87,7 +87,7 @@ public async Task PatchAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a member from a standard tag in a team. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs index e19d8b079f2..d17c4aba48c 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/Members/MembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new teamworkTagMember object in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the members of a standard tag in a team and their properties. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs index 938a0f6c098..f072cccbdae 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/Item/TeamworkTagItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a tag object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a tag object. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a tag object permanently. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs index e5b99807c39..6df99a2f783 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Tags/TagsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a standard tag for members in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the tag objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/TeamRequestBuilder.cs index cffdcb54f55..275d328ae55 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/TeamRequestBuilder.cs @@ -135,7 +135,7 @@ public async Task DeleteAsync(Action /// The team associated with this group. @@ -154,7 +154,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property team in groups @@ -175,7 +175,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property team for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs index 28a36d93c1f..ba72dcf8789 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Template/TemplateRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The template this team was created from. See available templates. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs index 21acbca14b2..05402e20e34 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Team/Unarchive/UnarchiveRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Count/CountRequestBuilder.cs index 5d774e6a613..37f9a7d6027 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs index 3dabcd8d6f8..76343e727bf 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/ConversationThreadItemRequestBuilder.cs @@ -40,7 +40,7 @@ public ConversationThreadItemRequestBuilder(string rawUrl, IRequestAdapter reque } /// /// Delete conversationThread. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -56,11 +56,11 @@ public async Task DeleteAsync(Action - /// Get a thread object. - /// Find more info here + /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update conversation thread @@ -98,7 +98,7 @@ public async Task PatchAsync(ConversationThread body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete conversationThread. @@ -125,7 +125,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Get a thread object. + /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -202,7 +202,7 @@ public ConversationThreadItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Get a thread object. + /// Get a specific thread that belongs to a group. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. /// public class ConversationThreadItemRequestBuilderGetQueryParameters { /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs index 797138b459e..0fac766b499 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs index 1bfc7b388ee..d6d9d151ed3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attachments for groups @@ -85,7 +85,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to a post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs index 83e91ee7107..cb5578805e2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 233c3b1c981..ce84921d324 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 7e2d7e587a2..570be1499d0 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index d635c82fd0e..652b715608b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs index 2f7491cdde8..2609816c1d3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs index 37bf8caacaa..c6bc0b020ab 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index c08445e43f1..d5e44379628 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs index 3aeea898004..bba6330d90f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs index 742ee7e1d92..de83844b47f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs index 0934d928048..b0a0162dfe9 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attachments for groups @@ -85,7 +85,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to a post. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs index 92cd9cd1111..0c30ef329d2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 08860c91a62..9e98d014367 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 9b974a281ef..35bb3281f4a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs index 43467eefd18..7f03cb8867a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs index 968d27c41ab..29d6bf88eb2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs index 34a9bcf110b..9e445a644a6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for groups @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs index d16ffe6e503..e12a0e7d432 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an open extension (openTypeExtension object) with the properties in the request body: The data in an extension can be primitive types, or arrays of primitive types. See the table in the Permissions section for the list of resources that support open extensions. @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs index 3bb2a557740..890541beb1f 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs index 6d57ccb1334..8690ae37cb1 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a post to a recipient. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs index 22fbc3f8eef..f42c25dcbea 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/InReplyToRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs index 825e00cc7c8..0627f5fad6b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Post? Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #nullable restore #else public Microsoft.Graph.Models.Post Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #endif /// @@ -49,7 +49,7 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, + {"post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Post", Post); + writer.WriteObjectValue("post", Post); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs index 92b20f5bf8a..6c887b782ff 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/InReplyTo/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs index eadc2b6ec5c..b96d047b89b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/PostItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Post.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get posts from groups diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs index bcacc844afd..a7ea9ec3c98 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Post? Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #nullable restore #else public Microsoft.Graph.Models.Post Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #endif /// @@ -49,7 +49,7 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, + {"post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Post", Post); + writer.WriteObjectValue("post", Post); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs index 18e352a2ef0..078d3ec6dd4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs index b8c6374915f..4bd6bc09200 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Posts/PostsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the post resource supports extensions, you can also use the GET operation to get custom properties and extension data in a post instance. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs index 50cd042abd4..9fd1cfe76da 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Post? Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #nullable restore #else public Microsoft.Graph.Models.Post Post { - get { return BackingStore?.Get("Post"); } - set { BackingStore?.Set("Post", value); } + get { return BackingStore?.Get("post"); } + set { BackingStore?.Set("post", value); } } #endif /// @@ -49,7 +49,7 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, + {"post", n => { Post = n.GetObjectValue(Microsoft.Graph.Models.Post.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Post", Post); + writer.WriteObjectValue("post", Post); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs index f031a3ffbd6..6191ab4849a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to a thread in a group conversation and add a new post to it. You can specify the parent conversation in the request, or, you can specify just the thread without the parent conversation. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/Threads/ThreadsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/Threads/ThreadsRequestBuilder.cs index 73dca469a51..2011a92f5b2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/Threads/ThreadsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/Threads/ThreadsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationThreadCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThreadCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Start a new group conversation by first creating a thread. A new conversation, conversation thread, and post are created in the group.Use reply thread or reply post to further post to that thread. Note: You can also start a new thread in an existing conversation. @@ -81,7 +81,7 @@ public async Task PostAsync(ConversationThread body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationThread.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the threads of a group. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index 5eff4d5d1c4..9c6f2584dfc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 03f92fb665e..1f69d8b0c50 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index e97766dc9f7..43d53525537 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index 14760c1723d..3f193c5eef7 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index d674d5184c2..4b739a6c661 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 1a0c9312704..6773cdd1c79 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups that a group is a member of, either directly and through nested membership. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 7302ce45797..901880744fb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index c655a569527..0797a05ed0b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index 8028074ac5b..dea2cc73d9d 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups that a group is a member of, either directly and through nested membership. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs index 4ba68bb6c29..671f9c7c4dc 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs index 00c8078c488..6974a137d7b 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs index 196c9fabcee..5ac83703427 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs index 3d4da3cc574..0c6a287b8ad 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs index 4d46bbc2d1b..55eb32c38d5 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs index 9cdcc80177a..5f761d90490 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs index 93e86b89fc4..6e07adf5394 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs index ea7b8b09fb0..de8886ac55a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 7c730ad0ca8..e05cf3662ef 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs index fc3b1354f30..f669b390ed8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 400bd3c823a..8542cfe91cb 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs index 2fd17ba22b6..81f53a507a2 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs index 942d4c599cb..616565a41a6 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs index 933bc68165d..d1a50881219 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/DirectoryObjectItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The direct and transitive members of a group. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs index daf4b7467cd..6871c88d0ec 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 40f7b9b1a5c..2d927945944 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs index 05ff9574d84..b5ec5b8e94a 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index ed4c82f1919..6f65bf145b4 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index ea515038652..bd7533c5411 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs index a53b283be1e..ae60a6a9dc3 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs index abe257b9243..32e3a375013 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/TransitiveMembers/TransitiveMembersRequestBuilder.cs @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The direct and transitive members of a group. Nullable. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs index b9ae7132f3e..97fdd58a0d8 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/UnsubscribeByMail/UnsubscribeByMailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Calling this method will prevent the current user from receiving email notifications for this group about new posts, events, and files in that group. Supported for Microsoft 365 groups only. diff --git a/src/Microsoft.Graph/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs index a4a8d665ab5..2f2021e9e28 100644 --- a/src/Microsoft.Graph/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/Item/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to update a Microsoft 365 group. To validate the properties before creating a group, use the directoryobject:validateProperties function. The following policy validations are performed for the display name and mail nickname properties: This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 4bbf7b9bbaa..7e7a804d4f5 100644 --- a/src/Microsoft.Graph/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Groups/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs index b89a1222c1d..5dbca7903f3 100644 --- a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/ApiConnectorsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, IdentityApiConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new identityApiConnector object. @@ -81,7 +81,7 @@ public async Task PostAsync(IdentityApiConnector body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties of an identityApiConnector object. diff --git a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs index 98c24ba6d9b..782dce72b91 100644 --- a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs index ade6a0d5628..ea1709f12e6 100644 --- a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/IdentityApiConnectorItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties of an identityApiConnector object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an identityApiConnector object. @@ -93,7 +93,7 @@ public async Task PatchAsync(IdentityApiConnector body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an identityApiConnector object. diff --git a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs index 72164b4cfc2..3d829a56b18 100644 --- a/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ApiConnectors/Item/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(UploadClientCertificatePostReq {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs index 8d634050e72..af3d1514869 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/B2xUserFlowsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, B2xIdentityUserFlowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, B2xIdentityUserFlowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new b2xIdentityUserFlow object. @@ -81,7 +81,7 @@ public async Task PostAsync(B2xIdentityUserFlow body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, B2xIdentityUserFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, B2xIdentityUserFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of b2xIdentityUserFlow objects. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs index 11ee959623e..be1019e82c6 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs index 6942b47e7b6..f3e6e40d7fa 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/ApiConnectorConfigurationRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, UserFlowApiConnectorConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowApiConnectorConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Configuration for enabling an API connector for use as part of the self-service sign-up user flow. You can only obtain the value of this object using Get userFlowApiConnectorConfiguration. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs index 0b7e03cb6ae..0064be72f2f 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/PostAttributeCollectionRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get postAttributeCollection from identity @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property postAttributeCollection in identity @@ -95,7 +95,7 @@ public async Task PatchAsync(IdentityApiConnector body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property postAttributeCollection for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs index a982faf8c63..882613eb509 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get ref of postAttributeCollection from identity @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the ref of navigation property postAttributeCollection in identity @@ -85,7 +85,7 @@ public async Task PutAsync(ReferenceUpdate body, Action /// Delete ref of navigation property postAttributeCollection for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs index 987a8e28dc5..56f48d498a3 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostAttributeCollection/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(UploadClientCertificatePostReq {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs index be6fe5fcac3..faa10fa0555 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/PostFederationSignupRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get postFederationSignup from identity @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property postFederationSignup in identity @@ -95,7 +95,7 @@ public async Task PatchAsync(IdentityApiConnector body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property postFederationSignup for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs index 3f0e855c6ce..18e6cde6c43 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get ref of postFederationSignup from identity @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the ref of navigation property postFederationSignup in identity @@ -85,7 +85,7 @@ public async Task PutAsync(ReferenceUpdate body, Action /// Delete ref of navigation property postFederationSignup for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs index 24eab6e6255..a066826f725 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/ApiConnectorConfiguration/PostFederationSignup/UploadClientCertificate/UploadClientCertificateRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(UploadClientCertificatePostReq {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityApiConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs index 85ab6fdd9f0..aa6d73e167e 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/B2xIdentityUserFlowItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a b2xIdentityUserFlow object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, B2xIdentityUserFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, B2xIdentityUserFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property b2xUserFlows in identity @@ -112,7 +112,7 @@ public async Task PatchAsync(B2xIdentityUserFlow body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, B2xIdentityUserFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, B2xIdentityUserFlow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a b2xIdentityUserFlow object. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs index 62abcb15fae..933f6a29b83 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Count/CountRequestBuilder.cs @@ -45,7 +45,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs index 08c060b4447..c82226aaf88 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/IdentityProvidersRequestBuilder.cs @@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the identity providers in a b2xIdentityUserFlow object. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs index dd602119f53..cdc7be68e4d 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task DeleteAsync(Action /// The identity providers included in the user flow. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an identity provider from a b2xIdentityUserFlow object. For self-service sign-up user flows, the values can be Google-OAUTH or Facebook-OAUTH. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs index b8300f3f47d..79899501982 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs index b466b59ee78..7c72b34db1c 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs index 28fe538add8..8c5ad65061b 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/DefaultPagesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UserFlowLanguagePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to defaultPages for identity @@ -79,7 +79,7 @@ public async Task PostAsync(UserFlowLanguagePage body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs index 15ce92b7f03..ce1394fbeac 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/UserFlowLanguagePageItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Collection of pages with the default content to display in a user flow for a specified language. This collection does not allow any kind of modification. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property defaultPages in identity @@ -90,7 +90,7 @@ public async Task PatchAsync(UserFlowLanguagePage body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property defaultPages for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs index fbac3726c42..316f1138615 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/DefaultPages/Item/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property defaultPages in identity @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property defaultPages from identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs index d8c64ef9864..0ce562767a2 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs index 6f3dda91b5e..4aed7f68d0c 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/UserFlowLanguagePageItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Collection of pages with the overrides messages to display in a user flow for a specified language. This collection only allows to modify the content of the page, any other modification is not allowed (creation or deletion of pages). @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property overridesPages in identity @@ -90,7 +90,7 @@ public async Task PatchAsync(UserFlowLanguagePage body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property overridesPages for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs index 6a6799f9830..87f3b028e42 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property overridesPages in identity @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property overridesPages from identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs index 9b7204152dd..7ca507166f1 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/OverridesPages/OverridesPagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UserFlowLanguagePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to overridesPages for identity @@ -80,7 +80,7 @@ public async Task PostAsync(UserFlowLanguagePage body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguagePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the userFlowLanguagePage resources from the overridesPages navigation property. These pages are used to customize the values shown to the user during a user journey in a user flow. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs index 0051b81e352..04a42c91d1b 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/Item/UserFlowLanguageConfigurationItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a userFlowLanguageConfiguration object. These objects represent a language available in a user flow. Note: Language customization is enabled by default in Azure Active Directory user flows. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, UserFlowLanguageConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguageConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property languages in identity @@ -96,7 +96,7 @@ public async Task PatchAsync(UserFlowLanguageConf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguageConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguageConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property languages for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs index 0680555041c..463e433e1ee 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/Languages/LanguagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguageConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguageConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to languages for identity @@ -80,7 +80,7 @@ public async Task PostAsync(UserFlowLanguageConfi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguageConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserFlowLanguageConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of languages supported for customization in a B2X user flow. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs index 01ccb38e428..b6d63391d09 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs index 2b2087bb086..ba25978583b 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/GetOrder/GetOrderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AssignmentOrder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssignmentOrder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOrder diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs index 6918e81ed2e..704aec5104c 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/IdentityUserFlowAttributeAssignmentItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an identityUserFlowAttributeAssignment object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a identityUserFlowAttributeAssignment object. @@ -93,7 +93,7 @@ public async Task PatchAsync(IdentityUserFl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an identityUserFlowAttributeAssignment object. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs index 8be5f2bac6c..26619f6700e 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/Item/UserAttribute/UserAttributeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user attribute that you want to add to your user flow. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs index c24d90f83fc..c93ea101eb2 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/SetOrder/SetOrderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetOrderPostRequestBody body, Action /// Set the order of identityUserFlowAttributeAssignments being collected within a user flow. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs index c3160cd10c6..153837a57ed 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserAttributeAssignments/UserAttributeAssignmentsRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow. @@ -91,7 +91,7 @@ public async Task PostAsync(IdentityUserFlo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow. diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs index 54d555dac6a..ea005c8e5a6 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs index 1b5d71ec63f..bf356375c86 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Item/Ref/RefRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task DeleteAsync(Action /// Delete ref of navigation property userFlowIdentityProviders for identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs index 54c73d6ffe7..4247f61507d 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property ref to userFlowIdentityProviders for identity @@ -66,7 +66,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Get ref of userFlowIdentityProviders from identity diff --git a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs index a0ddbc75850..61176691e55 100644 --- a/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/B2xUserFlows/Item/UserFlowIdentityProviders/UserFlowIdentityProvidersRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProviderBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get userFlowIdentityProviders from identity diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs index 9985de9166c..cc7fc2295ef 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/AuthenticationContextClassReferencesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReferenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReferenceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to authenticationContextClassReferences for identity @@ -80,7 +80,7 @@ public async Task PostAsync(AuthenticationC {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of authenticationContextClassReference objects. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs index 5c78d98f62e..f89f51c8e0e 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs index 13a3650b874..01ee4287a66 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationContextClassReferences/Item/AuthenticationContextClassReferenceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a authenticationContextClassReference object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an authenticationContextClassReference object, if the ID has not been used. If ID has been used, this call updates the authenticationContextClassReference object. @@ -88,7 +88,7 @@ public async Task PatchAsync(Authentication {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationContextClassReference.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an authenticationContextClassReference object that's not published or used by a conditional access policy. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs index b7b2c8c2c74..eaf3c7c7a8b 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/AuthenticationMethodModesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodModeDetailCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodModeDetailCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to authenticationMethodModes for identity @@ -80,7 +80,7 @@ public async Task PostAsync(AuthenticationMethod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodModeDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodModeDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of all supported authentication methods, or all supported authentication method combinations as a list of authenticationMethodModes objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs index 61405442d8d..2b24b28e1ae 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs index da603acf56d..01c824d3ede 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationMethodModes/Item/AuthenticationMethodModeDetailItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Names and descriptions of all valid authentication method modes in the system. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethodModeDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodModeDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property authenticationMethodModes in identity @@ -85,7 +85,7 @@ public async Task PatchAsync(AuthenticationMetho {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodModeDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodModeDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authenticationMethodModes for identity diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs index b92e85bcbfe..ae731c88489 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/AuthenticationStrengthRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get authenticationStrength from identity @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationStrengthRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property authenticationStrength in identity @@ -95,7 +95,7 @@ public async Task PatchAsync(AuthenticationStrengthR {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authenticationStrength for identity diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs index 6d93d456200..556a4854d25 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs index a96026665b1..404d387a5e3 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// A collection of authentication strength policies that exist for this tenant, including both built-in and custom policies. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property policies in identity @@ -100,7 +100,7 @@ public async Task PatchAsync(AuthenticationStrengt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property policies for identity diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs index 869227a4dd0..b82878f83aa 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. @@ -81,7 +81,7 @@ public async Task PostAsync(Authenticati {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs index 393145f9fbf..127237efc26 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs index 4c99eac53a3..ce952f5326e 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an authenticationCombinationConfiguration object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they are the only type of authenticationCombinationConfiguration that may be created. @@ -88,7 +88,7 @@ public async Task PatchAsync(Authenticat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs index 3a09affd6e6..04e27bfa622 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(UpdateAllowedCombin {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UpdateAllowedCombinationsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UpdateAllowedCombinationsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs index 33945238877..7d54c522507 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/Item/Usage/UsageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationStrengthUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usage diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs index e35b9f2a952..0b0161eb395 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/AuthenticationStrength/Policies/PoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to policies for identity @@ -79,7 +79,7 @@ public async Task PostAsync(AuthenticationStrength {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of authentication strength policies that exist for this tenant, including both built-in and custom policies. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs index c8b3ee2c968..1eaa0589e7d 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/ConditionalAccessRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// the entry point for the Conditional Access (CA) object model. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ConditionalAccessRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property conditionalAccess in identity @@ -110,7 +110,7 @@ public async Task PatchAsync(ConditionalAccessRoot body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property conditionalAccess for identity diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs index e007030ea94..3fb4cb528bf 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs index 7e3abdf0f51..f613edbdd47 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/Item/NamedLocationItemRequestBuilder.cs @@ -46,11 +46,11 @@ public async Task DeleteAsync(Action - /// Retrieve the properties and relationships of a namedLocation object. - /// Find more info here + /// Retrieve the properties and relationships of a countryNamedLocation object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -66,11 +66,11 @@ public async Task GetAsync(Action(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a countryNamedLocation object. - /// Find more info here + /// Update the properties of an ipNamedLocation object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -88,7 +88,7 @@ public async Task PatchAsync(NamedLocation body, Action(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a namedLocation object. @@ -115,7 +115,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve the properties and relationships of a namedLocation object. + /// Retrieve the properties and relationships of a countryNamedLocation object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -141,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a countryNamedLocation object. + /// Update the properties of an ipNamedLocation object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -192,7 +192,7 @@ public NamedLocationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve the properties and relationships of a namedLocation object. + /// Retrieve the properties and relationships of a countryNamedLocation object. /// public class NamedLocationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs index 130511164da..d6b6c80080a 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/NamedLocations/NamedLocationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, NamedLocationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NamedLocationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new namedLocation object. Named locations can be either ipNamedLocation or countryNamedLocation objects. @@ -81,7 +81,7 @@ public async Task PostAsync(NamedLocation body, Action(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NamedLocation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of namedLocation objects. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs index edd2ef9eee0..4d23ecee138 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs index 296482e7d56..50e268e0bf0 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/Item/ConditionalAccessPolicyItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a conditionalAccessPolicy object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a conditionalAccessPolicy object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ConditionalAccessPolicy bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a conditionalAccessPolicy object. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs index 137bd0013a4..00e93954480 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Policies/PoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConditionalAccessPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new conditionalAccessPolicy. @@ -81,7 +81,7 @@ public async Task PostAsync(ConditionalAccessPolicy bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conditionalAccessPolicy objects. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs index d46b4565dbf..675cc13d1fe 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs index 3c8a0edb85e..cc4a71f4158 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/Item/ConditionalAccessTemplateItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, ConditionalAccessTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a conditionalAccessTemplate object. diff --git a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs index 96de07538e6..3d556206bb2 100644 --- a/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/ConditionalAccess/Templates/TemplatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConditionalAccessTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the conditionalAccessTemplate objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs index 182b09f4140..bc4d8334b2c 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, AvailableProviderTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AvailableProviderTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function availableProviderTypes diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs index 26ba235b33c..9754588df99 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs index b9cc5a9b6be..cbc98d9f25d 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/IdentityProvidersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProviderBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an identity provider object that is of the type specified in the request body. Among the types of providers derived from identityProviderBase, you can currently create a socialIdentityProvider resource in Azure AD. In Azure AD B2C, this operation can currently create a socialIdentityProvider, or an appleManagedIdentityProvider resource. @@ -86,7 +86,7 @@ public async Task PostAsync(IdentityProviderBase body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of identity provider resources that are configured for a tenant, and that are derived from identityProviderBase. For an Azure AD tenant, the providers can be socialIdentityProviders or builtinIdentityProviders objects. For an Azure AD B2C, the providers can be socialIdentityProvider, or appleManagedIdentityProvider objects. diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs index b3e9e1d459e..67641667b85 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityProviders/Item/IdentityProviderBaseItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently get a socialIdentityProvider or a builtinIdentityProvider resource in Azure AD. In Azure AD B2C, this operation can currently get a socialIdentityProvider, or an appleManagedIdentityProvider resource. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified identity provider configured in the tenant. Among the types of providers derived from identityProviderBase, you can currently update a socialIdentityProvider resource in Azure AD. In Azure AD B2C, this operation can currently update a socialIdentityProvider, or an appleManagedIdentityProvider resource. @@ -88,7 +88,7 @@ public async Task PatchAsync(IdentityProviderBase body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an identity provider resource that is of the type specified by the id in the request. Among the types of providers derived from identityProviderBase, you can currently delete a socialIdentityProvider resource in Azure AD. In Azure AD B2C, this operation can currently delete a socialIdentityProvider, or an appleManagedIdentityProvider resource. diff --git a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs index 848e5cba1ee..c367c838a86 100644 --- a/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/IdentityRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, IdentityContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update identity @@ -91,7 +91,7 @@ public async Task PatchAsync(IdentityContainer body, Action(requestInfo, IdentityContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get identity diff --git a/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs index 9664741ce73..864d1160b51 100644 --- a/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs index 7a50c6d79f3..49b9a5db5e8 100644 --- a/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/Item/IdentityUserFlowAttributeItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a identityUserFlowAttribute object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a identityUserFlowAttribute object. Only custom user flow attributes can be updated. @@ -88,7 +88,7 @@ public async Task PatchAsync(IdentityUserFlowAttribut {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an identityUserFlowAttribute. Only custom user flow attributes can be deleted. diff --git a/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs index cb002e74bb8..6c91a88058e 100644 --- a/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Identity/UserFlowAttributes/UserFlowAttributesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, IdentityUserFlowAttributeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttributeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new identityUserFlowAttribute object. @@ -81,7 +81,7 @@ public async Task PostAsync(IdentityUserFlowAttribute {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityUserFlowAttribute.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of identityUserFlowAttribute objects. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs index 6fd192add4d..bb3ed671695 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/AccessReviewsRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get accessReviews from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property accessReviews in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessReviewSet body, Action(requestInfo, AccessReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property accessReviews for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs index 46793193ca7..4fd81514c7b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs index a2bcbb1842e..36f7ef6a6a7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/DefinitionsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewScheduleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewScheduleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new accessReviewScheduleDefinition object. @@ -90,7 +90,7 @@ public async Task PostAsync(AccessReviewSchedule {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewScheduleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewScheduleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the accessReviewScheduleDefinition objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 34d275c0ff4..5f23522f25b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs index c2796076218..2b5d98f9a27 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/AccessReviewScheduleDefinitionItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an accessReviewScheduleDefinition object. To retrieve the instances of the access review series, use the list accessReviewInstance API. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewScheduleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewScheduleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an existing accessReviewScheduleDefinition object to change one or more of its properties. @@ -98,7 +98,7 @@ public async Task PatchAsync(AccessReviewSchedul {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewScheduleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewScheduleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes an accessReviewScheduleDefinition object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs index 31a0bc85df6..bf94bef0f66 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index d1de941271d..b775f360ceb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs index 6e31bd130a3..af639848607 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/InstancesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to instances for identityGovernance @@ -89,7 +89,7 @@ public async Task PostAsync(AccessReviewInstance body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the accessReviewInstance objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs index 7d0064fbad3..6c1eb370331 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AcceptRecommendations/AcceptRecommendationsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Allows the acceptance of recommendations on all accessReviewInstanceDecisionItem objects that have not been reviewed on an accessReviewInstance object for which the calling user is a reviewer. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs index 6076295f9e0..b49c0eedef9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/AccessReviewInstanceItemRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an accessReviewInstance object. @@ -110,7 +110,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an accessReviewInstance object. Only the reviewers and fallbackReviewers properties can be updated but the scope property is also required in the request body. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewInstance, it's status must be InProgress. @@ -132,7 +132,7 @@ public async Task PatchAsync(AccessReviewInstance body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property instances for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs index 1b10827cd72..9da57f539db 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ApplyDecisions/ApplyDecisionsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Apply review decisions on an accessReviewInstance if the decisions were not applied automatically because the autoApplyDecisionsEnabled property is false in the review's accessReviewScheduleSettings. The status of the accessReviewInstance must be Completed to call this method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs index 63e574b9c8c..774037e46bd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/BatchRecordDecisions/BatchRecordDecisionsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(BatchRecordDecisionsPostRequestBody body, Action /// Enables reviewers to review all accessReviewInstanceDecisionItem objects in batches by using principalId, resourceId, or neither. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs index db2e1b95eb0..c3d8d957ae7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/ContactedReviewersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewReviewerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewReviewerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to contactedReviewers for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AccessReviewReviewer body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewReviewer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewReviewer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the reviewers for an access review instance, irrespective of whether or not they have received a notification. The reviewers are represented by an accessReviewReviewer object. A list of zero or more objects are returned, including all of their nested properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs index 3fcce41ffc3..c75bf6a8294 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs index 7cb198a1b7c..b3c91722df8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ContactedReviewers/Item/AccessReviewReviewerItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Returns the collection of reviewers who were contacted to complete this review. While the reviewers and fallbackReviewers properties of the accessReviewScheduleDefinition might specify group owners or managers as reviewers, contactedReviewers returns their individual identities. Supports $select. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewReviewer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewReviewer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contactedReviewers in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessReviewReviewer body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewReviewer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewReviewer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contactedReviewers for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs index 7e04034f2ca..3c6a2015df0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs index 94d9e97d50c..4f159b7d940 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/DecisionsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to decisions for identityGovernance @@ -89,7 +89,7 @@ public async Task PostAsync(AccessReviewInstan {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the accessReviewInstanceDecisionItem objects for a specific accessReviewInstance. A list of zero or more accessReviewInstanceDecisionItem objects are returned, including all of their nested properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 307d08f3e76..c63df46870c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs index b623c720211..603cf697e39 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property decisions in identityGovernance @@ -91,7 +91,7 @@ public async Task PatchAsync(AccessReviewInsta {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property decisions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs index f105d433335..04288e56823 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs index 096b1dbd53e..4abdd0ec105 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, GovernanceInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to insights for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(GovernanceInsight body, Action(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs index d72be9b183f..7823bdeb485 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property insights in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(GovernanceInsight body, Action(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property insights for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs index fdf346be091..013ba660960 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/ResetDecisions/ResetDecisionsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Resets all accessReviewInstanceDecisionItem objects on an accessReviewInstance to notReviewed. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs index 09f71cab21d..3715119949f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/SendReminder/SendReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Send a reminder to the reviewers of an active accessReviewInstance. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs index 25f491b0619..c3b58f63160 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 097b25de6e6..d35f1c36415 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs index d6a4e43bf81..850fd5581f8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/AccessReviewStageItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an accessReviewStage object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an accessReviewStage object. Only the reviewers and fallbackReviewers properties can be updated. You can only add reviewers to the fallbackReviewers property but can't remove existing fallbackReviewers. To update an accessReviewStage, its status must be NotStarted, Initializing, or InProgress. @@ -97,7 +97,7 @@ public async Task PatchAsync(AccessReviewStage body, Action(requestInfo, AccessReviewStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property stages for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs index 84e7406b9d5..fb8eb809557 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs index 44400597f68..65c408db7a6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/DecisionsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to decisions for identityGovernance @@ -89,7 +89,7 @@ public async Task PostAsync(AccessReviewInstan {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the decisions from a stage in a multi-stage access review. The decisions in an accessReviewStage object are represented by an accessReviewInstanceDecisionItem object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index d90885cadf8..e2b031047cd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs index b2c8a8b9b8a..4ed8e7e3dd4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/AccessReviewInstanceDecisionItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an accessReviewInstanceDecisionItem object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update access decisions, known as accessReviewInstanceDecisionItems, for which the user is the reviewer. @@ -92,7 +92,7 @@ public async Task PatchAsync(AccessReviewInsta {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewInstanceDecisionItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property decisions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs index 6005b26a498..0a5755a48bf 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs index cf2309985c8..dbfd5cc5cf7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/InsightsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, GovernanceInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to insights for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(GovernanceInsight body, Action(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs index eeb837b19c4..d8029999812 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Decisions/Item/Insights/Item/GovernanceInsightItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an accessReviewInstanceDecisionItem. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property insights in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(GovernanceInsight body, Action(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GovernanceInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property insights for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs index 44ba6cb6c6b..62db590a362 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/Item/Stop/StopRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Stop an access review stage that is inProgress. After the access review stage stops, the stage status will be Completed and the reviewers can no longer give input. If there are subsequent stages that depend on the completed stage, the next stage will be created. The accessReviewInstanceDecisionItem objects will always reflect the last decisions recorded across all stages at that given time, regardless of the status of the stages. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs index 94c086ba723..58737b6fae6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stages/StagesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewStageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewStageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to stages for identityGovernance @@ -89,7 +89,7 @@ public async Task PostAsync(AccessReviewStage body, Action(requestInfo, AccessReviewStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the stages in a multi-stage access review instance. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs index 911b3c52177..1d91f60a27c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Instances/Item/Stop/StopRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Stop a currently active accessReviewInstance. After the access review instance stops, the instance status is marked as Completed, the reviewers can no longer give input, and the access review decisions are applied. Stopping an instance will not stop future instances. To prevent a recurring access review from starting future instances, update the schedule definition to change its scheduled end date. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs index b981489d7e9..8c051954634 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/Definitions/Item/Stop/StopRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action stop diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs index 16d120d5f7c..c414fa4acfd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs index 2b6edbeb8bb..76bf399a5e5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/HistoryDefinitionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new accessReviewHistoryDefinition object. @@ -81,7 +81,7 @@ public async Task PostAsync(AccessReviewHistoryDe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the accessReviewHistoryDefinition objects created in the last 30 days, including all nested properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs index d1ab44b2f7e..1cbc10a82ea 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/AccessReviewHistoryDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve an accessReviewHistoryDefinition object by its identifier. All the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 Not Found error is returned. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewHistoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property historyDefinitions in identityGovernance @@ -91,7 +91,7 @@ public async Task PatchAsync(AccessReviewHistoryD {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property historyDefinitions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs index fe0626efc90..72b9305e154 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs index 2b7427b88f9..588020238c6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/InstancesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to instances for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AccessReviewHistoryInst {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the instances of an access review history definition created in the last 30 days. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs index 3c18256c030..376c0b5fd31 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/AccessReviewHistoryInstanceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// If the accessReviewHistoryDefinition is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property instances in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessReviewHistoryIns {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property instances for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs index 59d6a470904..e2b399b1986 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AccessReviews/HistoryDefinitions/Item/Instances/Item/GenerateDownloadUri/GenerateDownloadUriRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessReviewHistoryInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Generates a URI for an accessReviewHistoryInstance object the status for which is done. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the downloadUri property from the accessReviewHistoryInstance object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs index df0f73696ea..23991e082ca 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get appConsent from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AppConsentApprovalRoute.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppConsentApprovalRoute.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appConsent in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AppConsentApprovalRoute bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AppConsentApprovalRoute.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppConsentApprovalRoute.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property appConsent for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs index f577b8ae4de..a3e5eb01932 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/AppConsentRequestsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, AppConsentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppConsentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to appConsentRequests for identityGovernance @@ -89,7 +89,7 @@ public async Task PostAsync(AppConsentRequest body, Action(requestInfo, AppConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve appConsentRequest objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs index 7b0be5554fe..0a5b355eccd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index e58ef0352b7..ceb538a7704 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs index 2d1618933ce..1dcf57914ed 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/AppConsentRequestItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an appConsentRequest object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, AppConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appConsentRequests in identityGovernance @@ -91,7 +91,7 @@ public async Task PatchAsync(AppConsentRequest body, Action(requestInfo, AppConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property appConsentRequests for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs index 4557c64f89c..63fbff45c87 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 6f4cff4690b..60b23d8fef2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs index c7b32a25c5e..b89c10f5b4c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/ApprovalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Approval decisions associated with a request. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property approval in identityGovernance @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property approval for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs index 1d47968cf95..6b68a5fbc55 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs index f6700f30dbd..828e42d5877 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/Item/ApprovalStageItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// In Azure AD entitlement management, retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, approve or deny an approvalStage object in an approval. @@ -87,7 +87,7 @@ public async Task PatchAsync(ApprovalStage body, Action(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property stages for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs index abb053edf42..280041abe77 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/Approval/Stages/StagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ApprovalStageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to stages for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(ApprovalStage body, Action(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, list the approvalStage objects associated with an approval object. This call can be made by an approver, providing the identifier of the access package assignment request. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs index 6c8e0563c6b..250136fe569 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/Item/UserConsentRequestItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a userConsentRequest object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, UserConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userConsentRequests in identityGovernance @@ -91,7 +91,7 @@ public async Task PatchAsync(UserConsentRequest body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userConsentRequests for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs index 5b53e5cb36d..d0383de666f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/AppConsent/AppConsentRequests/Item/UserConsentRequests/UserConsentRequestsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, UserConsentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserConsentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userConsentRequests for identityGovernance @@ -89,7 +89,7 @@ public async Task PostAsync(UserConsentRequest body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserConsentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a collection of userConsentRequest objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs index 95892e8be07..bccee37760b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/AccessPackageAssignmentApprovalsRequestBuilder.cs @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, ApprovalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to accessPackageAssignmentApprovals for identityGovernance @@ -88,7 +88,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, retrieve the properties of an approval object. This call can be made by an approver, providing the identifier of the access package assignment request. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs index 93365a8a493..ae32212594f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 20059db4e4f..e5ac237ea7e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs index bba97e29a7c..ff0a161259b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/ApprovalItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// In Azure AD entitlement management, retrieve the properties of an approval object. This call can be made by an approver, providing the identifier of the access package assignment request. @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property accessPackageAssignmentApprovals in identityGovernance @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Approval.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property accessPackageAssignmentApprovals for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs index d5400e34a32..ea1f2dfb31f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs index c7b3f554d50..d89b9c426ae 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/Item/ApprovalStageItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// In Azure AD entitlement management, retrieve the properties of an approvalStage object. An approval stage is contained within an approval object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, approve or deny an approvalStage object in an approval. @@ -87,7 +87,7 @@ public async Task PatchAsync(ApprovalStage body, Action(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property stages for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs index f7497c5cdcb..2ada119e18d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackageAssignmentApprovals/Item/Stages/StagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ApprovalStageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to stages for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(ApprovalStage body, Action(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApprovalStage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, list the approvalStage objects associated with an approval object. This call can be made by an approver, providing the identifier of the access package assignment request. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs index fe3144bd98b..4d2588e28e8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/AccessPackagesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new accessPackage object. The access package will be added to an existing accessPackageCatalog. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackage objects. The resulting list includes all the access packages that the caller has access to read, across all catalogs. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs index 6ab3f616053..509c044b4f8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index f01799ae60a..49f690f086c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 9f0d60fa5de..ed5d068bba3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action /// Retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an existing accessPackage object to change one or more of its properties, such as the display name or description. @@ -123,7 +123,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an accessPackage object. You cannot delete an access package if it has any accessPackageAssignment. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs index f5f8e4e1cb6..90466732942 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/AccessPackagesIncompatibleWithRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of the accessPackage objects that have marked a specified accessPackage as incompatible. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs index 2dbb9bfbf2c..000d950a6c2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs index cb2efcd787b..d1302a732d5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AccessPackagesIncompatibleWith/Item/AccessPackageItemRequestBuilder.cs @@ -45,7 +45,7 @@ public AccessPackageItemRequestBuilder(string rawUrl, IRequestAdapter requestAda {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The access packages that are incompatible with this package. Read-only. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs index 5c72f25cb1e..86890cbb596 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignmentPolicies for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageAssignme {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs index f078fbb3213..5fe5f4c5cc1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs index 04639c0c28e..eef31d8443c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -45,7 +45,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Access package containing this policy. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs index 3873c432848..589cac3adec 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignmentPolicies in identityGovernance @@ -105,7 +105,7 @@ public async Task PatchAsync(AccessPackageAssignm {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignmentPolicies for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs index ee97243d5e2..72155a38b28 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Catalog of the access package containing this policy. Read-only. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs index 73ca7419c9d..f7381c36f0d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs index 91a1a6277f4..9297081c1a1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to customExtensionStageSettings for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(CustomExtensionStageSet {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs index 88773650457..630b6f85913 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs index 3c149693664..e18794b8f54 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property customExtensionStageSettings in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(CustomExtensionStageSe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property customExtensionStageSettings for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs index 1856a1074a2..d7b20d2ac8e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs index 2bbe0eb0b6e..c6f7100acc5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Questions that are posed to the requestor. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property questions in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageQuestion body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property questions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs index 8a9970ebded..d2e40a6668a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageQuestionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to questions for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageQuestion body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Questions that are posed to the requestor. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs index d02eb958f6f..3ac06445767 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/Catalog/CatalogRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Required when creating the access package. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs index fb9f03d5762..e8744a9458f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/GetApplicablePolicyRequirements/GetApplicablePolicyRequirementsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, GetApplicablePolicyRequirementsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetApplicablePolicyRequirementsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs index a6be7935b4d..96dde6b246f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs index 1373528dd3f..90f50822ee2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/IncompatibleAccessPackagesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs index 1ccf03ffd9e..46e3c032df7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an access package from the list of access packages that have been marked as incompatible on an accessPackage. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs index c14b631da29..6493ce2aa56 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleAccessPackages/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an accessPackage to the list of access packages that have been marked as incompatible on an accessPackage. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieve a list of the accessPackage objects that have been marked as incompatible on an accessPackage. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs index ec5fd331271..0046d89679f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs index 100c91f3beb..75aef0e7f0c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/IncompatibleGroupsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs index 0bad13dbeda..98778d90004 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a group from the list of groups that have been marked as incompatible on an accessPackage. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs index 688a20b0639..6aad830098c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/IncompatibleGroups/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a group to the list of groups that have been marked as incompatible on an accessPackage. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieve a list of the group objects that have been marked as incompatible on an accessPackage. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs index d1a61051c88..7f81b65871e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs index 1c3a9902bbc..6b790e6c591 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// The resource roles and scopes in this access package. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceRoleScopes in identityGovernance @@ -96,7 +96,7 @@ public async Task PatchAsync(AccessPackageResour {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a accessPackageResourceRoleScope from an accessPackage list of resource role scopes. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index d2643769204..7b205a616a8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs index 178873a3353..32879694565 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs index 4c6aede277a..7cbdd50e415 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 16eb72c8119..701f43fdb5e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs index 8dd69e6f634..e2961165208 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs index 539bad25bd7..c8fcef8f035 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 78b4d8679cb..f5ded3d75c9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 5fee77741c3..2408f2ea5db 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 9549eb60be4..c33d056d506 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 452beab65d9..cd25462149e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index faaf075db9c..3703e7bbc42 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index d2d8650436c..b0d86c2c054 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs index 6ffc53328ee..7d29fdf65bf 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs index 7c651b0f895..278178f6fda 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get role from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property role in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property role for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 96c0a85ad03..081cbb496e2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs index 027a532ee89..13de49d7a78 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs index c21114f0fc6..50e53b64df0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 4e468a8a720..7a2fa2b72a2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 1ebc3bda578..7206780c8ff 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 561b45458db..f11516c17e6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 6eba2ad54f8..c9c673cbab4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 19fd2ce4dca..ca518350d89 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index b5101de8b73..0775ee16dca 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs index 78971718957..8236d732118 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs index 94eb4163492..2ef63a25d15 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 9844da5197c..22e9c457fc8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs index 97079b03dac..022fb36ffbf 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs index c5744928ccf..795cdebc7c0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get scope from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scope in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scope for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs index fa6abc99c8e..dbd7dadc641 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AccessPackages/Item/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new accessPackageResourceRoleScope for adding a resource role to an access package. The access package resource, for a group, an app, or a SharePoint Online site, must already exist in the access package catalog, and the originId for the resource role retrieved from the list of the resource roles. Once you add the resource role scope to the access package, the user will receive this resource role through any current and future access package assignments. @@ -80,7 +80,7 @@ public async Task PostAsync(AccessPackageResourc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The resource roles and scopes in this access package. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs index 9db2643e202..a7f4e583695 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/AssignmentPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, create a new accessPackageAssignmentPolicy object. The request will include a reference to the accessPackage that will contain this policy, which must already exist. @@ -81,7 +81,7 @@ public async Task PostAsync(AccessPackageAssignme {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, retrieve a list of accessPackageAssignmentPolicy objects. If the delegated user is in a directory role, the resulting list includes all the assignment policies that the caller has access to read, across all catalogs and access packages. If the delegated user is an access package manager or catalog owner, they should instead retrieve the policies for the access packages they can read with list accessPackages by including $expand=accessPackageAssignmentPolicies as a query parameter. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs index c1236e906dd..70002c64729 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs index c905de61694..dbff38fc2e2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -45,7 +45,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Access package containing this policy. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs index 85397cb0b9f..33ca4fcb87c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/AccessPackageAssignmentPolicyItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// In Azure AD entitlement management, retrieve the properties and relationships of an accessPackageAssignmentPolicy object. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignmentPolicies in identityGovernance @@ -107,7 +107,7 @@ public async Task PutAsync(AccessPackageAssignmen {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, delete an accessPackageAssignmentPolicy. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs index 9ec3e2a4ab7..d1afc202f79 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Catalog/CatalogRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Catalog of the access package containing this policy. Read-only. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs index 893f4aa53db..01e3a3a3bcb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs index a65f988b904..b7c56f34d5b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/CustomExtensionStageSettingsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSettingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to customExtensionStageSettings for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(CustomExtensionStageSet {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs index ecdefa0a599..44e25b73e9a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtension/CustomExtensionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicates the custom workflow extension that will be executed at this stage. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs index 59ee87755b6..866b47be005 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/CustomExtensionStageSettings/Item/CustomExtensionStageSettingItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of stages when to execute one or more custom access package workflow extensions. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property customExtensionStageSettings in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(CustomExtensionStageSe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomExtensionStageSetting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property customExtensionStageSettings for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs index 4caeab2b479..cbdb02fda6b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs index b051583ece7..9b96e6aed6b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/Item/AccessPackageQuestionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Questions that are posed to the requestor. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property questions in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageQuestion body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property questions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs index 1daead62af2..d397876b777 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentPolicies/Item/Questions/QuestionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageQuestionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to questions for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageQuestion body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Questions that are posed to the requestor. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs index d6aef890271..3dc6c32ad2c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/AssignmentRequestsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment. @@ -90,7 +90,7 @@ public async Task PostAsync(AccessPackageAssignm {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs index f267156d0df..d3d12d46eba 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index b5287bc60d2..c4326079490 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs index ff169bcc2eb..a88edfbd3c0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -45,7 +45,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The access package associated with the accessPackageAssignmentRequest. An access package defines the collections of resource roles and the policies for how one or more users can get access to those resources. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs index cc7af5143ad..1ad727f5415 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/AccessPackageAssignmentRequestItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// In Azure AD entitlement management, retrieve the properties and relationships of an accessPackageAssignmentRequest object. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageAssignmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignmentRequests in identityGovernance @@ -117,7 +117,7 @@ public async Task PatchAsync(AccessPackageAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an accessPackageAssignmentRequest object. This request can be made to remove a denied or completed request. You cannot delete an access package assignment request if it has any accessPackageAssignment objects. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs index 0a958523de1..4db9ae6a6a6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Assignment/AssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For a requestType of userAdd or adminAdd, this is an access package assignment requested to be created. For a requestType of userRemove, adminRemove or systemRemove, this has the id property of an existing assignment to be removed. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs index b2e508f110e..cf92b764465 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Cancel/CancelRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancellable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs index 6c2c656987c..ae1d564ad58 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Reprocess/ReprocessRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// In Azure AD entitlement management, callers can automatically retry a user's request for access to an access package. It is performed on an accessPackageAssignmentRequest object whose requestState is in a DeliveryFailed or PartiallyDelivered state. You can only reprocess a request within 14 days from the time the original request was completed. For requests completed more than 14 days, you will need to ask the users to cancel the request(s) and make a new request in the MyAccess portal. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs index 639cf652bb1..f57ef5e5176 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Requestor/RequestorRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The subject who requested or, if a direct assignment, was assigned. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs index a4287cb5726..b2337aa9df7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/AssignmentRequests/Item/Resume/ResumeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Invoke action resume diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs index 44c4d8a4711..de6d3acf9d2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccess/AdditionalAccessRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, AdditionalAccessResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdditionalAccessResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function additionalAccess diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs index b16e731428d..8b2683d954d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageId/AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task(requestInfo, AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdditionalAccessWithAccessPackageIdWithIncompatibleAccessPackageIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function additionalAccess diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs index 8d9d662b3d0..05158511c60 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/AssignmentsRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to assignments for identityGovernance @@ -105,7 +105,7 @@ public async Task PostAsync(AccessPackageAssignment bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In Azure AD entitlement management, retrieve a list of accessPackageAssignment objects. For directory-wide administrators, the resulting list includes all the assignments, current and well as expired, that the caller has access to read, across all catalogs and access packages. If the caller is on behalf of a delegated user who is assigned only to catalog-specific delegated administrative roles, the request must supply a filter to indicate a specific access package, such as: $filter=accessPackage/id eq 'a914b616-e04e-476b-aa37-91038f0b165b'. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs index e0e3001a4cd..b91528a47c0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index b14d60aec28..ea211e6904f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs index e78efcc15c1..4bfa8669dcd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackage/AccessPackageRequestBuilder.cs @@ -45,7 +45,7 @@ public AccessPackageRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs index ba68ffc7586..ee98c9a3c51 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AccessPackageAssignmentItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// In Azure AD entitlement management, retrieve the properties and relationships of an accessPackageAssignment object. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignments in identityGovernance @@ -106,7 +106,7 @@ public async Task PatchAsync(AccessPackageAssignment bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignments for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs index d1a6b98f471..0643f1866ef 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/AssignmentPolicy/AssignmentPolicyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageAssignmentPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Supports $filter (eq) on the id property and $expand query parameters. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs index dc5f5439345..43ece560ada 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Reprocess/ReprocessRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// In Azure AD entitlement management, callers can automatically reevaluate and enforce an accessPackageAssignment object of a user’s assignments for a specific access package. The state of the access package assignment must be Delivered for the administrator to reprocess the user's assignment. Only admins with the Access Package Assignment Manager role, or higher, in Azure AD entitlement management can perform this action. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs index 391a5177333..cea5c148203 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Assignments/Item/Target/TargetRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageSubject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The subject of the access package assignment. Read-only. Nullable. Supports $expand. Supports $filter (eq) on objectId. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs index cfad172167c..dad842de9b6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/CatalogsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCatalogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new accessPackageCatalog object. @@ -81,7 +81,7 @@ public async Task PostAsync(AccessPackageCatalog body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackageCatalog objects. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs index 4a3f28e72f1..094e3405c94 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs index adf06c14b3b..aeb3adf3165 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackageCatalogItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an accessPackageCatalog object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an existing accessPackageCatalog object to change one or more of its properties, such as the display name or description. @@ -113,7 +113,7 @@ public async Task PatchAsync(AccessPackageCatalog body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an accessPackageCatalog. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs index 9a47ff086b8..b2df7db3cb3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/AccessPackagesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The access packages in this catalog. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs index bd8958b9f14..ec16945c7a0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 1c6ffd3c4a2..4bdcfe458f6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -45,7 +45,7 @@ public AccessPackageItemRequestBuilder(string rawUrl, IRequestAdapter requestAda {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The access packages in this catalog. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs index 7fdf160a70a..ac59e363019 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs index e04112c7ab8..5dbe65a0e66 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to customWorkflowExtensions for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(CustomCalloutExtension body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get customWorkflowExtensions from identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index 512ad6d5a2b..2d30e58031e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get customWorkflowExtensions from identityGovernance @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property customWorkflowExtensions in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(CustomCalloutExtension body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property customWorkflowExtensions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs index 237680c10cb..731f38cdefa 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index f3f1afee562..f6dd8e83f8e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resourceRoles from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceRoles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceRoles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 73f4bc957bc..6fdccc6ffc2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs index 7499142f4d0..892ffafe09a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs index 2fd6bdcc411..72da0411a82 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 4b6c6ca6f79..5e9583049fa 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs index b22b295bd54..73d5486663d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 536327bab1a..75a7f8b6dec 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 24ea2a9d51b..f69c89c08c7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index b58d5e3a382..0efd38ca3fe 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 1cf452af3c3..cab22f3e696 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 3da9ec1db89..58eac4d7312 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 601a98cf446..d8f8b7f78c8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index da541074770..14829e0283e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 3e7f1a912e7..46657b431d3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs index 9801e333e5c..8284cc9159e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceRoles/ResourceRolesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceRoles for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs index 7bbaae8a974..80dc703fcb5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 6afeedfe880..8916bbd9e72 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resourceScopes from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceScopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceScopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 5596fa1532c..e101b8fe93f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs index b72414b98c4..17803ea2a39 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 46a383016e6..395cf26b6db 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 93822b8008c..024ced47816 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 6bb8ef40505..b406515b40c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index d68ee80787b..05b24a3a0a5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 9fd607fa893..219808a2ccc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index dd934b82ada..992e8a90150 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 377e0747b33..043199507d8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs index 6dcea5f2a66..b448db27238 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 86f5af31331..adf7677a87e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 1719480cb00..dfbb92ffe57 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs index 71f0abfef4f..e1668234e8b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs index f881f73e232..66d854d96c4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/ResourceScopes/ResourceScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceScopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get resourceScopes from identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs index 74f8aaa494b..235cf282294 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index 1f26be4dcaf..aa529f34b79 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Access package resources in this catalog. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 3c0e4bced8e..a31d2190bce 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs index 71a9af26feb..68e7be73aa4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 2968b9eb616..a694d8e1802 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index f84770c89cd..b2e45b24bf2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index dc91f6156ea..7a49ca3c268 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index e007c6df647..66aa1c34954 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 0bd94e3de8b..00a0838f1bb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 7f32bc0c727..80a3839f83f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 453927b3a31..431df96a1dd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 0d6b23f760a..3912ef29adc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs index 026f71cc300..8c0cac1675e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs index 7bba05174dd..1ec23cf621c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 1e6dc0e93e1..ad6468e699f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 9d85a99b4d2..e14d68d935a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index 2547acdff16..c8ed67651cf 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 73d27064524..71037918c36 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 8a2f5b8baa4..1381e3a3734 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 9c007f8e551..ba2c18b1739 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index aea4e251129..cd1f0a1cd9a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index a1e4c806e4d..d79dce3f91a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs index 64741277ada..bb21071c05a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs index 6a299df5861..5bfaeb12a8b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Catalogs/Item/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AccessPackageResource body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackageResource objects in an accessPackageCatalog. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs index ca3aa0c6a7b..05430951557 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/ConnectedOrganizationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConnectedOrganizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectedOrganizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new connectedOrganization object. @@ -81,7 +81,7 @@ public async Task PostAsync(ConnectedOrganization body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of connectedOrganization objects. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs index 487b9e92b71..de8c88fbaad 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs index f8644766d5d..a38ad937efe 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ConnectedOrganizationItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a connectedOrganization object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a connectedOrganization object to change one or more of its properties. @@ -98,7 +98,7 @@ public async Task PatchAsync(ConnectedOrganization body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConnectedOrganization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a connectedOrganization object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs index 80ba3f8c417..7d693d4191f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Delta/DeltaRequestBuilder.cs index 2c9a8ba66f0..e0aaf9d65e8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs index c512ea2def8..bf3086bf0fc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ExternalSponsorsRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. @@ -106,7 +106,7 @@ public async Task PostAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index bc4a0545ab6..5dad62e1263 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetByIds/GetByIdsRequestBuilder.cs index 7c71c3362e1..eee54b612bc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs index b60ab67e884..6978cd6d097 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a user or a group from the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs index 2cac3475b63..649d681def7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a user or a group to the connected organization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieve a list of a connectedOrganization's external sponsors. The external sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs index e4799cd8dfd..21abac7c028 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/ExternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs index 872e6b6c1fd..1b8736f107d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Delta/DeltaRequestBuilder.cs index c6680cbcefb..0324e97f429 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 06036cc0e5c..94e9b7263a0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetByIds/GetByIdsRequestBuilder.cs index 409190731a1..472a7de732a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs index f9ddbd751ba..b333175d9c5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/InternalSponsorsRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. @@ -106,7 +106,7 @@ public async Task PostAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs index d7d5f5feacf..8a988374f2d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a user or a group from the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs index cd13f4e20fb..b3e7835b499 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a user or a group to the connected organization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieve a list of a connectedOrganization's internal sponsors. The internal sponsors are a set of users who can approve requests on behalf of other users from that connected organization. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs index f65730342a9..8498bf3811b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ConnectedOrganizations/Item/InternalSponsors/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs index f314d36b479..ee9f7b14126 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// Get entitlementManagement from identityGovernance @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.EntitlementManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.EntitlementManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property entitlementManagement in identityGovernance @@ -145,7 +145,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.EntitlementManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.EntitlementManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property entitlementManagement for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs index 617bc041e5d..fe36548671c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs index 1b214afca51..24d40eddb74 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/AccessPackageResourceEnvironmentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// A reference to the geolocation environments in which a resource is located. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceEnvironments in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageReso {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceEnvironments for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs index 8285eaece71..dc426d86d60 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index 094a6f1602f..03540c8186c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Read-only. Required. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 863d894edf6..44c1da1894d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs index 20d3d08bb44..6fd7f712063 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 9ba25f57843..b4149a134af 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 424f7e46f01..d329fdfbe1b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index 00369c08b7f..ebe7abf1d70 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index f9f06e736f5..dfc7eded654 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index bdf6cd8ad73..689671462a2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 7737d087f61..9afed010217 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 6271fb24c1d..5efd5688f53 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index bf32ebe4dcb..5bd2b9c4a4b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs index e55cba86e4a..6222e612cde 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs index c7606f34308..3c03f343ba3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 217096d1b34..64f39150089 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 9cc2f3b164c..dda25fdcec6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index 4afcf96ec1b..01a86fa0f51 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 1cc7b466b26..a5dd63c2e09 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index f9a58ca6728..7972fa0d78c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 1fb5dc14e33..558d5cd741a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 2cb0d2b067e..c012d48fe78 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index 7d180640dc3..0642f5e2798 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs index 6144d4faad8..f6da4ec7ea0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs index e2bfe413b69..a1a2974c501 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/Item/Resources/ResourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResource body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Required. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs index 169269430d8..5dcf8a7e4f0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceEnvironments/ResourceEnvironmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceEnvironments for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AccessPackageResou {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackageResourceEnvironment objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs index c81ae6822c9..4c05dec98c9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs index 5e4702594a8..8ee354b4d8f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/AccessPackageResourceRequestItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Represents a request to add or remove a resource to or from a catalog respectively. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceRequests in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceRequests for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs index 16684eff22b..988d2f28b78 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/AccessPackagesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The access packages in this catalog. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs index 22f968ebd15..56ad2d01024 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs index 72dc1cb3f31..1d451d3db6f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/AccessPackages/Item/AccessPackageItemRequestBuilder.cs @@ -45,7 +45,7 @@ public AccessPackageItemRequestBuilder(string rawUrl, IRequestAdapter requestAda {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AccessPackage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The access packages in this catalog. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs index 02c73050888..3ab8a5cfb96 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CatalogRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get catalog from identityGovernance @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property catalog in identityGovernance @@ -110,7 +110,7 @@ public async Task PatchAsync(AccessPackageCatalog body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageCatalog.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property catalog for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs index ba891a91af8..31b6bff50f0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs index daf1155c767..f66bccd5093 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/CustomWorkflowExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to customWorkflowExtensions for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(CustomCalloutExtension body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get customWorkflowExtensions from identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs index abe512236b6..31eebb51e89 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/CustomWorkflowExtensions/Item/CustomCalloutExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get customWorkflowExtensions from identityGovernance @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property customWorkflowExtensions in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(CustomCalloutExtension body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomCalloutExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property customWorkflowExtensions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs index 67c7ff022dc..27f87d8813f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 4eb69ff7de9..f4bd878d042 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resourceRoles from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceRoles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceRoles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 8b9a911235c..aa551151a94 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs index c91a2b9b8b6..d87d23af22c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs index 7ca168ee205..b34ad98dfb9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 2bdf814e1ac..2fae80c40a4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs index fd5d47d7f11..5bf94793648 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 16c10403f61..69e43a93ce2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 87af3d5292a..f921a14bf5a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 37ac20d0b22..6f3531fe8e2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 669bc2d9cf1..4f87a3e532c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 575505bec38..22d87c28b1e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 23d8167b0b7..b19697fad6f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index cc7f47b2d30..4300b90bfa8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 7d512137565..9b7eef831b6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs index a9651a2657e..78793c06da2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceRoles/ResourceRolesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceRoles for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs index 970e03ee0ab..1a8e60dbf46 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 008ae55b170..90ff6d2a8dc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resourceScopes from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceScopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceScopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 1f1d7766dea..44907996e8e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs index 347c42aeb73..5b3ca9e83e4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 33a4150fdb3..35868c69b3b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 6e32cf54344..fc31402cac5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index af0eba913d8..76e577e746a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index c3ae666f9d7..60007fc3557 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 939f0b3cee0..51be92f3198 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index fd97df95c4a..2fc9a2c2c87 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 4ba836d8f9f..a755d27e42a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs index d6dce58c007..db8ae37789d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 8b2de4ace48..aed62e61a68 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 84e680125f7..f9acd6916c0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs index d0980eee7c2..116dcc73e15 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs index af5e8adb75e..875341b099b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/ResourceScopes/ResourceScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceScopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get resourceScopes from identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs index e80932346bf..aab768697d5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index a04e28616c7..c9253766127 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Access package resources in this catalog. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 69157a7b9fa..07b2fa2e159 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs index 236563f627b..223f9a004f6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 480b9ca7c86..65122874dec 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index f175ac60337..ae68a598729 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index aaff0f91c66..908ddc8230e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 35d9d56e7fa..c43627fbd69 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 3617f9f463e..d7364779a79 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 20f1b2f7cbd..04b6325d940 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 51f611e44d3..0586f1a90b5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 7b2105d3a59..b468357d7e2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs index e556ecbc8ab..d03bc9c2ba2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs index 13e2c38638a..930bba63531 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 305353ff666..da03f71e25d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index e9822802bbf..9b3dc456a9f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index 46a700646d4..ceca0d01925 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 96fe788c548..c55fb683ad4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index d33e8d1cdb2..8d77c0d6be7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index d3a42fb8a54..b2c1b9098ed 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 3e8b7853545..ed2a371d092 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index edb76b844f9..4dc2ac03e16 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs index 6e48224a8cf..0d588e704f3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs index 16c6ab1bef8..1a7da2b8a5b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Catalog/Resources/ResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AccessPackageResource body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackageResource objects in an accessPackageCatalog. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 3841398602c..7e5808fbe5e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs index 8822145afa6..e87c90b4307 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs index 824eb1baec9..da8fbd5c388 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 2add035ecaa..11b5a1f2bcb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index c2484ad555b..a2a3192ae70 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 4937aff9ad5..b4f2bf6b093 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index d044c1738fc..5bac538ba8d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 5c9a9c6cc52..ea775035b17 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 019a64fa37d..fbb9f4ea8b5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 1dc3931bfe4..ccc1af40302 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 5eef6841aa2..1afd64c23ce 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs index dbeea9ed767..383a65fdf69 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs index 31393ffa37d..c9a4ca8c643 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 0fd99b7f7a7..35049f496e7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index ed7a5ce38c0..edc48a6bccd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 72f2fb0d9a1..415b2595a16 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 86bbdf27bb3..14e7cd6e422 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index c6d68fbf7c9..a4d438d59c4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 4d6bcddac09..4f90f469443 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index abe244e021c..dc0fde42df2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index fa2c290ad14..b8f839c0619 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs index 903df4a2f3b..6e5016bf3fe 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs index f9721f08491..3756d2a2976 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRequests/ResourceRequestsRequestBuilder.cs @@ -59,10 +59,10 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. To add an Azure AD group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. If using delegated permissions, the user requesting to add a group should be an owner of the group or in a directory role which allows them to modify groups. If using application permissions, the application requesting to add the group should also be assigned the Group.ReadWrite.All permission. + /// Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. To add an Azure AD group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. To add an Azure AD application as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadApplication and the value of the originId is the identifier of the servicePrincipal. To add a SharePoint Online site an as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be SharePointOnline and the value of the originId is the URI of the site. To remove a resource from a catalog, set the requestType to be adminRemove, and the resource to contain the id of the resource object to be removed. The resource object can be retrieved using list resources. /// Find more info here /// /// The request body @@ -81,7 +81,7 @@ public async Task PostAsync(AccessPackageResourceR {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of accessPackageResourceRequest objects. @@ -110,7 +110,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. To add an Azure AD group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. If using delegated permissions, the user requesting to add a group should be an owner of the group or in a directory role which allows them to modify groups. If using application permissions, the application requesting to add the group should also be assigned the Group.ReadWrite.All permission. + /// Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. To add an Azure AD group as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadGroup and the value of the originId is the identifier of the group. To add an Azure AD application as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be AadApplication and the value of the originId is the identifier of the servicePrincipal. To add a SharePoint Online site an as a resource to a catalog, set the requestType to be adminAdd, and a resource representing the resource. The value of the originSystem property within the resource should be SharePointOnline and the value of the originId is the URI of the site. To remove a resource from a catalog, set the requestType to be adminRemove, and the resource to contain the id of the resource object to be removed. The resource object can be retrieved using list resources. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs index 85f221b0a68..47009fc3299 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs index fbdb7b2d7ee..9bb3d6f0b50 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/AccessPackageResourceRoleScopeItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resourceRoleScopes from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceRoleScopes in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResour {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceRoleScopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 891966473e0..56358954d44 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs index de10079bbf3..6806945d9a9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs index e9caa600e6d..ed6530ebe10 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 3671d0a1573..4959e33e8b9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs index ae15875a7e8..1fd458ab355 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs index 7c12b919066..5f031ba7a15 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 66fd8fa6a13..7c1960fce3f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 82ddaa63c30..cf058874da1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index 5ff74c31e2a..774096835fd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 9fb6973a466..e97a5a703b7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 6f63ed03716..cc3959e12e7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index 1fc541b005a..800e8457474 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs index 89cbd5751ff..560f122b8f1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs index fefbe86c3f1..f1d6e533921 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Role/RoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get role from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property role in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property role for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 79c8d529e1c..81f398596a0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs index 5cdf3292a69..95da8abb950 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/ResourceRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs index 59bbf2e63e5..b542f3a5f38 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 73b20cdbafc..68da1fbc549 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index c8ed00c2b47..cb8a72be075 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index a2c8d4ff1a7..28998db1417 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index e7d7176edba..99826293856 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 4258043feb6..c9c48943379 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index 92a0a8fd0bd..79b5abdf90b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs index d2eaed1a471..4915e7931dd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs index 9e93bc37cb0..f2b16a13b7f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index c1e3f708b76..feaca60554e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs index 393c5cea283..fa266337489 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs index 22f3ade8e94..1679db41ab2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/Item/Scope/ScopeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get scope from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scope in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scope for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs index 7ac1fb5c9db..e9e5867de62 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/ResourceRoleScopes/ResourceRoleScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceRoleScopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get resourceRoleScopes from identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs index 09ddb276074..e9f288b2d49 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs index ff9040281ef..fefe18be4c6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/AccessPackageResourceItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// The resources associated with the catalogs. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in identityGovernance @@ -100,7 +100,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 3a5fdfa05c6..99cdeae5e1b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs index 8df6c7c4524..639863258b1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 59a08f37235..eaf95aaab42 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index fb8939c73e6..c785542b70c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs index 470abba2105..842a3bb6a4b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs index bb33a2dde78..fe9ea593f5b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index b8ef6b1545f..40a22180cd4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 9e1193fecb4..e1b3c930656 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs index dc63d89f0f9..d1d8b09fbc9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs index ccf5d2c4728..d67fc645769 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/Item/Resource/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs index f78c6d93478..8e76e6eb2f7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs index d7bc48f155d..e5b6900a577 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs index 95ea527169a..40a1817af0b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/AccessPackageResourceScopeItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopes in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceSc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopes for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index de0eed5ce30..64ab6f163c9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs index 63dcd347a98..ce9d7cb0cd8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/ResourceRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs index 4667fe19eb1..a7749e6dbd2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs index 3145d366427..763247e044b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/AccessPackageResourceRoleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roles in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResourceRol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roles for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs index 6aa1f4d4674..249a3efd63d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/EnvironmentNamespace/EnvironmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceEnvironment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs index 9377f42a136..1ba9e689980 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/Item/Resource/ResourceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resource from identityGovernance @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resource in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AccessPackageResource body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resource for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs index c24e3d70d0a..0a2957475c3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/Item/Resource/Roles/RolesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roles for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs index 2ff73351d19..239f756c261 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/Item/Scopes/ScopesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScopeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopes for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResourceSco {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs index 720b77562f1..cb9368c5814 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Resources/ResourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AccessPackageResource body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AccessPackageResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The resources associated with the catalogs. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs index 5fd2c70ca97..4f0c8f4dc46 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/EntitlementManagement/Settings/SettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of an entitlementManagementSettings object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EntitlementManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EntitlementManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an existing entitlementManagementSettings object to change one or more of its properties. @@ -87,7 +87,7 @@ public async Task PatchAsync(EntitlementManagemen {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EntitlementManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EntitlementManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property settings for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs index 085319a7ffe..afc39b8e873 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/IdentityGovernanceRequestBuilder.cs @@ -70,7 +70,7 @@ public IdentityGovernanceRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.IdentityGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.IdentityGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update identityGovernance @@ -91,7 +91,7 @@ public IdentityGovernanceRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.IdentityGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.IdentityGovernance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs index 24461204079..a6899b5da21 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs index 2fc1a430471..0e671ccd8ff 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/CustomTaskExtensionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CustomTaskExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomTaskExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new customTaskExtension object. @@ -81,7 +81,7 @@ public async Task PostAsync(CustomTaskExtension body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomTaskExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomTaskExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the customTaskExtension objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs index 7a30a0e4f57..5f5e19ba2a1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user that created the custom task extension.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index bdeae51de1f..bc6388d9afa 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs index 594cdfb9bf1..e724716633d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/CustomTaskExtensionItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a customTaskExtension object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, CustomTaskExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomTaskExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a customTaskExtension object. @@ -98,7 +98,7 @@ public async Task PatchAsync(CustomTaskExtension body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CustomTaskExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CustomTaskExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a customTaskExtension object. A custom task extension can only be deleted if it is not referenced in any task objects in a lifecycle workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index 968bbcdb052..ca22d9a2c82 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user that modified the custom task extension last.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 067e74ecaaa..970e0bbdc4d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/CustomTaskExtensions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs index a4bcdd627dc..845c4b682a0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/DeletedItemsRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Deleted workflows in your lifecycle workflows instance. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeletedItemContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deletedItems for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs index 43166d6f9f9..9780685a6ee 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs index ffae94e14ab..3c1c86db523 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user who created the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 092cb2d782f..14b8c5aeebb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs index 319079863c0..f2143cdcdc4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs index dd6cac4686d..11b9e7e3780 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD identity that last modified the workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs index 332c5b18df2..b18ea223347 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD identity that last modified the workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index 1765fc68b12..382d90e3da0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD identity that last modified the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 73d1ad70da7..9d6540bec20 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs index c9316fbd42d..0436f13591c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ActivatePostRequestBody body, Action /// Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs index 36c9d55e226..0b6a22b12e3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateNewVersionPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new version of the workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs index 25d2d575ece..d770a889d4f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Azure AD automatically permanently deletes it. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs index ff4ec081bde..485a5ef32bd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs index 47fd679bd54..8b978470f33 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task GetAsync(Action(requestInfo, Run.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Run.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a run object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 5834ba99c35..5197572cb60 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 1c0348e2872..d6d66996f12 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 77d62418877..d15c0316a6f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index c817ce4d1e3..09160b49f70 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index b9092bfb23d..d008e2f4fba 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index d9605b28b84..fb0c27f54b2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related taskProcessingResults. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 3751891c365..f9e6811aada 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the taskProcessingResult resources for a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs index 05b0658c689..61864d8bce5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index a9dcce81da0..581aff4d4c0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index a86b79e8aa4..bf6f0f98ef2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index e4e299ad46f..4a815cacde4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 03c2ccdb683..4fe874ad702 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index aa5a5213d17..a940c98a994 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 982f2d57e36..a7bbcf5c5ef 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 2829e434f07..36e72052497 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 62e4fd819cc..5c4ccc39511 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The associated individual task execution. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 0739553856b..500c204e554 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the task processing result from a userProcessingResult either directly or through a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index 83d000b1791..834b4fd3d52 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the user processing result of a user processing result of a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index b3b7f77ff41..8771b236e68 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index 0b08b072dc6..a747c88d774 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index e6f12c58ecc..3c601bd1406 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, RunSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RunSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs index bb77357d72d..216e2e08939 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Runs/RunsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, RunCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RunCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs index f306fe1e2e2..cb38183f89e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs index e7525d053a4..ac6a6786d9b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TaskDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs index 3722667635d..767b881fd3a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 8dead9997fc..610b2669d1e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 91090917997..d5b0852e3ac 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index c5999313723..833b7adf93e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 20a96310af9..43f0fa8feab 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index e45d8183683..8c408881809 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 0ba5c348db9..bd16462df7c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related lifecycle workflow taskProcessingResults. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index b40389a01f0..39db27e31fa 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the task processing result resources from the taskReport. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs index 5110066abce..164d93caf60 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the aggregation of task execution data for tasks within a workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index d4535846f8e..bbfdc7a84c6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, TaskReportSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskReportSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs index 3bcacfdfc82..4489b6c9559 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs index cfd7990c34f..34f2daa38be 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs index cae957614be..86109efd685 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The tasks in the workflow. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 29dcb288181..8fb7454c06b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index ddd8c52f041..e370a9d456c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index b5046dd7528..2ca86430f76 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 75c279fb2c3..e9cb1e7a36c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index c6f7a3b2c55..f0b2252d742 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 3251f9d832e..7009d5b082e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 5057a59ed2d..f1f463768f2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs index 4180901c35f..5702d6319d5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Tasks/TasksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tasks in the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs index 055a0119747..a7d298c1947 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 834f86ad87b..abe2832e675 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 07405a29cc3..20e0a598d46 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 5e70813709d..dcf9e2a9d4b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index da6d9cb926e..e6f7cec4f9d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 0ae992c69fe..8ca3474a2cb 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 4f38f65bd34..58c5ec2250a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index a0f4f77094c..5ff62f18620 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 7b314eb653e..3a07416b743 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The associated individual task execution. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 7736aee1414..ebe4891839d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the task processing result from a userProcessingResult either directly or through a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index 78420edd3ed..49f3f2683b1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Per-user workflow execution results. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index d38a61a9d70..98ae012303a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index 7a2b4c274bd..cbec4b4e7e5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs index 5ec9061f88e..df82c851607 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs index 3b9a46385b2..fc6436f5e55 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user who created the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index a5fbe9550cc..d30f703e745 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index bc42ba3b074..356eadb6137 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD identity that last modified the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 058f18dd51c..c1fedb1f0f4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs index 0cc946df1b6..7b66a5fa686 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs index d30786cb45a..36400256b1e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The tasks in the workflow. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index fbb6bae87f9..d26ef033df2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 589c0f89cc9..1eb4b30e2ce 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 7fc8b1741d1..1d37f3a9d69 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index c71f57045f1..76549efeef9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 3d728d97c39..98b11b1646d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 4f7263c1872..5a626eea596 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index ea6782948bd..3a6a4465521 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs index 37de106575e..79587ae3712 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tasks in the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs index 7934ab990d4..98dd0382847 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a workflowVersion object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs index f7fdf02a5b5..f61db0403f6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/Versions/VersionsRequestBuilder.cs @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the workflowVersion objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs index cdec2914cf6..b7fcb61c4e7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action /// Retrieve a deleted workflow object. @@ -121,7 +121,7 @@ public async Task GetAsync(Action(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs index 42bf320147e..5a7c2aac2b0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/DeletedItems/Workflows/WorkflowsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the deleted workflow objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs index 69ed1e1781c..d3f5f88532b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/LifecycleWorkflowsRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Get lifecycleWorkflows from identityGovernance @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, LifecycleWorkflowsContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LifecycleWorkflowsContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property lifecycleWorkflows in identityGovernance @@ -115,7 +115,7 @@ public async Task PatchAsync(LifecycleWorkflowsCont {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LifecycleWorkflowsContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LifecycleWorkflowsContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property lifecycleWorkflows for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs index 4125a9a7368..a2e51379e7b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Settings/SettingsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, LifecycleManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LifecycleManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a lifecycleManagementSettings object. @@ -68,7 +68,7 @@ public async Task PatchAsync(LifecycleManagementSet {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LifecycleManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LifecycleManagementSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a lifecycleManagementSettings object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs index df49999b056..45d524294b8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs index cdf341c00f3..bf8f6170a0f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/Item/TaskDefinitionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public TaskDefinitionItemRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the details of a built-in workflow task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs index f77b4399688..82db18ae0a4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/TaskDefinitions/TaskDefinitionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the taskDefinition objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs index e990f9a3a3d..9f2b09cf857 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs index 536ed880597..d629ef4d12b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs index 1521e438c76..8ddfe871b93 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 41ab7f0d298..ac3282f089a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 9d62dbc0b6f..8510df18668 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 8705d84fe5c..2f70c2071e4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 7c64a04559b..df2f40bcfa6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index f788ddb7567..9f9f5031afc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index d8f1f6c71b6..77e49a8083c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index bfec8174f26..9722339ac25 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs index e6d5c6df8d5..3dfdca0e6f9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/Tasks/TasksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs index 0018c4d8b6d..2ea8b5d7a9f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/Item/WorkflowTemplateItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a workflowTemplate object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs index 1608952d508..f1829edf8d4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/WorkflowTemplates/WorkflowTemplatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the workflowTemplate objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs index d4e98b2d1b0..93626efba5c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs index 53e6f0ab3ac..57536cfc48b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user who created the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index fa66d1b5dee..2cadc4d392a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs index 77910a3ff6c..fc0108bd4ef 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs index 5855dc827fc..cc1c8fc649c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/ExecutionScopeRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD identity that last modified the workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs index 663f914dfe1..b60fc516099 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/ExecutionScope/Item/UserProcessingResultItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD identity that last modified the workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index 737bcbe3f2e..33c0e8ecbe4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD identity that last modified the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index c4593e34ea4..a3f5b95edc2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs index ec26afc2b01..4344ff90d23 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceActivate/MicrosoftGraphIdentityGovernanceActivateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ActivatePostRequestBody body, Action /// Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs index 3d3063f059d..d46ee1d131d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceCreateNewVersion/MicrosoftGraphIdentityGovernanceCreateNewVersionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateNewVersionPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new version of the workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs index 2d72b4775c1..994d1cf8913 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/MicrosoftGraphIdentityGovernanceRestore/MicrosoftGraphIdentityGovernanceRestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Azure AD automatically permanently deletes it. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs index 40d19424067..3caa61b768a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs index 052bb526f6d..0e2556e5b9c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/RunItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task GetAsync(Action(requestInfo, Run.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Run.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a run object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 16afd9bbd83..08ff1cfd5c5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 123c229c9a5..cd76675f7a5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 333d84d08fb..bd898f1a917 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 5461da77f28..d8d3040355c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index ec687b4dc77..b3e752d4a43 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index ed243bf2787..6d867478712 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related taskProcessingResults. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 8ffd8781acd..68c28b7b603 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the taskProcessingResult resources for a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs index 21789c71121..4d646907234 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 9a205241dc1..571f9809345 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 6d01899853a..aaf261be585 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 8a5a7093bf3..4d47f5c0c96 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 33cbaaacca3..c46c87a2070 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index c337b0fdd9d..270cc919b26 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 6bbdc24a0f3..016d794d2f0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 80d1b4bdf8f..0e9aa85e1f0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 28d7dba562d..9c9ba681e5a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The associated individual task execution. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index c22c4fea4cb..2be36327b74 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the task processing result from a userProcessingResult either directly or through a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index 94a7418de31..0012b0771df 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the user processing result of a user processing result of a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index a68ab69bb04..48c6bb80182 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index ca330abfc43..136ec408195 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 18b4ae5e2cc..8cf9a472fd1 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, RunSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RunSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs index cefa2c9c839..1c8ca5db2ff 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Runs/RunsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, RunCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RunCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs index ae5320a4280..fee2a785dab 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs index 5c9728a0a3d..ccee105dc14 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskDefinition/TaskDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TaskDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentityGovernance.TaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The taskDefinition associated with the related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs index 9552ad16326..8789742d9b7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related lifecycle workflow task.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 3bd5ae8e91e..7729be3d7bf 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index 44e3d8d0922..897a9b700af 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index b63a19bfbb2..509c40b219d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 76ee7f4b00c..4acbb4ba3cf 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 9e16a2593f9..6aa4a279cd0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index f7d22c5c6a6..e8e371c7ade 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related lifecycle workflow taskProcessingResults. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index e6b02dc5127..968255e67a8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the task processing result resources from the taskReport. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs index 306e4149bf8..52cc270fdf7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/Item/TaskReportItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the aggregation of task execution data for tasks within a workflow object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 5d2048d798d..85b18277664 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, TaskReportSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskReportSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs index 1d467d435a5..a6574459db4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/TaskReports/TaskReportsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs index b7a35bf1d36..b3c05752804 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs index ad1653179c2..799f7a2c01e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The tasks in the workflow. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index d54da1b44a2..2843a9b5afa 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index f9223d21832..c78f6baa90e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index ba6b74f63c7..7ca70bd06df 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index e522b2d5de9..055e2bcac05 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 6a9d9702716..8eb725fdbd0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index c688ea81295..b6b33f8ba22 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index f2a622b0742..31221e4e4a6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs index 86eff0d9a84..9ce79526136 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Tasks/TasksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tasks in the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs index 5bc49c44e96..1c0deff67b8 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index 2c443b0b2f6..703d8442dcc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs index 2c7225f609b..08e1c258059 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD user targeted for the taskProcessingResult.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index e094552a260..83cff6186b4 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index f9ac950dee1..0e9bef5d8bd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index a00c5db8137..6432e6c3b56 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index aca9c5c1000..118c21f6196 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 4b4da710cc4..2b6ec6ff6f2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index a7e0216f072..c95626145d0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The associated individual task execution. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index fac2e30b7a6..b98b4a97887 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the task processing result from a userProcessingResult either directly or through a run. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs index 86cb3d9db64..61f965b9811 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/Item/UserProcessingResultItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Per-user workflow execution results. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 8e92559c180..452e36296ee 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTime/MicrosoftGraphIdentityGovernanceSummaryWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function summary diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs index febe471ad43..9b3d1c222e3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/UserProcessingResults/UserProcessingResultsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the summary method. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs index 3bb90a4584c..e7ee3355b35 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs index 090b9cfa26d..cc99046df93 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/CreatedByRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user who created the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 9853311c2de..2095b6b7943 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/CreatedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs index 7a8e89b716c..9951f047d0e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/LastModifiedByRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the AAD identity that last modified the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs index 07169270760..aaab53ccf62 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/LastModifiedBy/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs index 76e3c20fa5b..d8ae107acc9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs index 4ec4c1bf8aa..86b1a3b082d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The tasks in the workflow. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs index 3180661b34c..68de2700ad2 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs index cd8ddeb8807..baa489dd4b0 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/MicrosoftGraphIdentityGovernanceResume/MicrosoftGraphIdentityGovernanceResumeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ResumePostRequestBody body, Action /// Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs index da602812b49..bcf8f991692 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs index f533320aaf9..26cf3c246a6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/Subject/SubjectRequestBuilder.cs @@ -50,7 +50,7 @@ public SubjectRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The unique identifier of the Azure AD user targeted for the task execution.Supports $filter(eq, ne) and $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs index 47170870a81..26c47a2f3e9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskNamespace/TaskRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The related workflow task diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs index 4d0e86788ae..c8eb2c547dd 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/Item/TaskProcessingResultItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs index 606c3b56e9f..ea2997a24b3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/Item/TaskProcessingResults/TaskProcessingResultsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskProcessingResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The result of processing the task. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs index da8711a1bfb..16b66cae9d5 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/Tasks/TasksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(TaskObject body, Action(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TaskObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tasks in the workflow. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs index 0f98b6733a9..e936d96658f 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/Item/WorkflowVersionVersionNumberItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a workflowVersion object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs index 5e7e631d0c3..ce8ce97c9e7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/Versions/VersionsRequestBuilder.cs @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the workflowVersion objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs index a3e87891452..c8b8e0a200a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/Item/WorkflowItemRequestBuilder.cs @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a workflow object. @@ -121,7 +121,7 @@ public async Task GetAsync(Action(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a workflow object. Only the properties listed in the request body table can be updated. To update any other workflow properties, see workflow: createNewVersion. @@ -143,7 +143,7 @@ public async Task PatchAsync(Workflow body, Action(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a workflow object and its associated tasks, taskProcessingResults and versions. You can restore a deleted workflow and its associated objects within 30 days of deletion. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs index e1076d0cd3e..07af065e656 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/LifecycleWorkflows/Workflows/WorkflowsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WorkflowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkflowCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new workflow object. You can create up to 50 workflows in a tenant. @@ -81,7 +81,7 @@ public async Task PostAsync(Workflow body, Action(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Workflow.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of workflow resources that are associated with lifecycle workflows. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index 43516cd2b69..14ba921fd64 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to agreementAcceptances for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AgreementAcceptance body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the current status of a user's response to a company's customizable terms of use agreement. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs index b5a07327650..25594d9d90c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 32297248706..7e457ac2916 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the current status of a user's response to a company's customizable terms of use agreement. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property agreementAcceptances in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementAcceptance body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property agreementAcceptances for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs index ea891834af8..40c5b639df3 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/AgreementsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AgreementCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new agreement object. @@ -81,7 +81,7 @@ public async Task PostAsync(Agreement body, Action(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of agreement objects. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs index d4f9ebb3e79..1c1e66ff6ee 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs index 3e6c5889443..a77899c4952 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/AcceptancesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to acceptances for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AgreementAcceptance body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the details about the acceptance records for a specific agreement. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs index 1262b4cbf91..d41f9a733c6 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 5488e349eb5..438ff2ee930 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Acceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Information about acceptances of this agreement. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property acceptances in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementAcceptance body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property acceptances for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs index 72eb2113c26..e8d63c7f04e 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/AgreementItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve all files related to an agreement. This includes the default file and all localized files. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an agreement object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Agreement body, Action(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Agreement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an agreement object. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs index 3e774e30716..b2fd4786cc9 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/FileRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the Accept-Language header. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property file in identityGovernance @@ -91,7 +91,7 @@ public async Task PatchAsync(AgreementFile body, Action(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property file for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs index d5a2127401f..782240bb3cc 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs index e9d75468bda..3f076fa84ed 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The localized version of the terms of use agreement files attached to the agreement. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property localizations in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AgreementFileLocalizatio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property localizations for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs index 46eb5fda62d..5cd073de969 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index 4517ddab382..a8f861144af 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementFileVersion body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs index 99abe9b1258..8992be50699 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/Item/Versions/VersionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AgreementFileVersion body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs index 5484eed5acb..82bd2a0ebac 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/FileNamespace/Localizations/LocalizationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to localizations for identityGovernance @@ -80,7 +80,7 @@ public async Task PostAsync(AgreementFileLocalization {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the default and localized agreement files. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs index 128e0d93ec0..b7bc562d672 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs index b8db913953e..2709e8caca7 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/FilesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new localized agreement file. @@ -80,7 +80,7 @@ public async Task PostAsync(AgreementFileLocalization {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs index 8fc78d71da4..fc0cd67686d 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/AgreementFileLocalizationItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// PDFs linked to this agreement. This property is in the process of being deprecated. Use the file property instead. Supports $expand. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property files in identityGovernance @@ -90,7 +90,7 @@ public async Task PatchAsync(AgreementFileLocalizatio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property files for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs index a03c41cd8ef..ba087f9f87b 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs index 570643e213d..b1ef0995f9c 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/Item/AgreementFileVersionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in identityGovernance @@ -85,7 +85,7 @@ public async Task PatchAsync(AgreementFileVersion body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs index 3e705b98b7b..c78030ce35a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/Agreements/Item/Files/Item/Versions/VersionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for identityGovernance @@ -79,7 +79,7 @@ public async Task PostAsync(AgreementFileVersion body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementFileVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only. Customized versions of the terms of use agreement in the Azure AD tenant. diff --git a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs index e9f4a5a57b5..e710ff45c1a 100644 --- a/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityGovernance/TermsOfUse/TermsOfUseRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get termsOfUse from identityGovernance @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, TermsOfUseContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsOfUseContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property termsOfUse in identityGovernance @@ -95,7 +95,7 @@ public async Task PatchAsync(TermsOfUseContainer body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TermsOfUseContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermsOfUseContainer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property termsOfUse for identityGovernance diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/IdentityProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/IdentityProtectionRequestBuilder.cs index 610b1830eaf..adb16219f2c 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/IdentityProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/IdentityProtectionRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProtectionRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProtectionRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update identityProtection @@ -86,7 +86,7 @@ public async Task PatchAsync(IdentityProtectionRoot body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IdentityProtectionRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProtectionRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get identityProtection diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs index ef41b432bc7..f39a1f73d8e 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs index 99a8d269d92..2b3a8b4cacd 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/Item/RiskDetectionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a riskDetection object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property riskDetections in identityProtection @@ -86,7 +86,7 @@ public async Task PatchAsync(RiskDetection body, Action(requestInfo, RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property riskDetections for identityProtection diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs index ff44a8f8868..2eead73b2aa 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskDetections/RiskDetectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RiskDetectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskDetectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to riskDetections for identityProtection @@ -80,7 +80,7 @@ public async Task PostAsync(RiskDetection body, Action(requestInfo, RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the riskDetection objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs index 62b130dda3e..5e13acc0fb8 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ConfirmCompromisedPostRequestBody body, Action /// Confirm one or more riskyServicePrincipal objects as compromised. This action sets the targeted service principal account's risk level to high. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs index b8a5cd94a57..d8a28a9fec7 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs index 8f157ea5e96..f8d3903325e 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Dismiss/DismissRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DismissPostRequestBody body, Action /// Dismiss the risk of one or more riskyServicePrincipal objects. This action sets the targeted service principal account's risk level to none. You can dismiss up to 60 service principal accounts in one request. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs index d8a99c24d76..28f01cbd927 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs index e256b71d943..a4d7dd84757 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/HistoryRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to history for identityProtection @@ -80,7 +80,7 @@ public async Task PostAsync(RiskyServicePrinci {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the risk history of a riskyServicePrincipal object. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs index 293b729bbf8..2fba21c3924 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/History/Item/RiskyServicePrincipalHistoryItemItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the risk history of Azure AD service principals. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, RiskyServicePrincipalHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property history in identityProtection @@ -85,7 +85,7 @@ public async Task PatchAsync(RiskyServicePrinc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property history for identityProtection diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs index 63b5f664d51..586f3a0abee 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/Item/RiskyServicePrincipalItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a riskyServicePrincipal object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, RiskyServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property riskyServicePrincipals in identityProtection @@ -91,7 +91,7 @@ public async Task PatchAsync(RiskyServicePrincipal body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property riskyServicePrincipals for identityProtection diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs index 0cecbdaa8cb..53792036d7d 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyServicePrincipals/RiskyServicePrincipalsRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, RiskyServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to riskyServicePrincipals for identityProtection @@ -90,7 +90,7 @@ public async Task PostAsync(RiskyServicePrincipal body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of riskyServicePrincipal objects. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs index ccd4f60efba..631056b4808 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/ConfirmCompromised/ConfirmCompromisedRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ConfirmCompromisedPostRequestBody body, Action /// Confirm one or more riskyUser objects as compromised. This action sets the targeted user's risk level to high. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs index 24103448e4d..1a9d284fd12 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs index e67743a3a04..9109b576491 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Dismiss/DismissRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DismissPostRequestBody body, Action /// Dismiss the risk of one or more riskyUser objects. This action sets the targeted user's risk level to none. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs index 9aa11fce70b..457cdb57d9c 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs index f39ebb8d32d..7f583e5ecff 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/HistoryRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RiskyUserHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUserHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to history for identityProtection @@ -80,7 +80,7 @@ public async Task PostAsync(RiskyUserHistoryItem body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RiskyUserHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUserHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a riskyUserHistoryItem object. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs index 8a90afeacc8..d6bba2361a8 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/History/Item/RiskyUserHistoryItemItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The activity related to user risk level change @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, RiskyUserHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUserHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property history in identityProtection @@ -85,7 +85,7 @@ public async Task PatchAsync(RiskyUserHistoryItem body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RiskyUserHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUserHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property history for identityProtection diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs index da4e28cd85d..73b5b8bbc37 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/Item/RiskyUserItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a riskyUser object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property riskyUsers in identityProtection @@ -91,7 +91,7 @@ public async Task PatchAsync(RiskyUser body, Action(requestInfo, RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property riskyUsers for identityProtection diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs index 4a0fd06673f..18b46444e7c 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/RiskyUsers/RiskyUsersRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, RiskyUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to riskyUsers for identityProtection @@ -90,7 +90,7 @@ public async Task PostAsync(RiskyUser body, Action(requestInfo, RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RiskyUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the riskyUser objects and their properties. diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs index 0491ec914cb..2dfbedf16af 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs index 7532849cd47..1a2af54b642 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/Item/ServicePrincipalRiskDetectionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a servicePrincipalRiskDetection object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalRiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalRiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property servicePrincipalRiskDetections in identityProtection @@ -86,7 +86,7 @@ public async Task PatchAsync(ServicePrincipalRisk {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalRiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalRiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property servicePrincipalRiskDetections for identityProtection diff --git a/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs index 820684c16bd..57d0c9dd1a3 100644 --- a/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProtection/ServicePrincipalRiskDetections/ServicePrincipalRiskDetectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalRiskDetectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalRiskDetectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to servicePrincipalRiskDetections for identityProtection @@ -80,7 +80,7 @@ public async Task PostAsync(ServicePrincipalRiskD {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalRiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalRiskDetection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties of a collection of servicePrincipalRiskDetection objects. diff --git a/src/Microsoft.Graph/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs index 707812a0126..8c4ccf0ad95 100644 --- a/src/Microsoft.Graph/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProviders/AvailableProviderTypes/AvailableProviderTypesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AvailableProviderTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AvailableProviderTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function availableProviderTypes diff --git a/src/Microsoft.Graph/Generated/IdentityProviders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProviders/Count/CountRequestBuilder.cs index 830f36444ef..8d481b6236d 100644 --- a/src/Microsoft.Graph/Generated/IdentityProviders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProviders/Count/CountRequestBuilder.cs @@ -45,7 +45,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/IdentityProviders/IdentityProvidersRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProviders/IdentityProvidersRequestBuilder.cs index 6e57b95b157..d6530daf0f1 100644 --- a/src/Microsoft.Graph/Generated/IdentityProviders/IdentityProvidersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProviders/IdentityProvidersRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProviderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new identityProvider by specifying display name, identityProvider type, client ID, and client secret. @@ -91,7 +91,7 @@ public async Task PostAsync(IdentityProvider body, Action(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve all identityProviders in the directory. diff --git a/src/Microsoft.Graph/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs index 44858f79421..3ae026c6898 100644 --- a/src/Microsoft.Graph/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/IdentityProviders/Item/IdentityProviderItemRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of an existing identityProvider. @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update properties in an existing identityProvider. @@ -91,7 +91,7 @@ public async Task PatchAsync(IdentityProvider body, Action(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IdentityProvider.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an existing identityProvider. diff --git a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs index 7092115be7b..30530457c0d 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/BitlockerRequestBuilder.cs @@ -50,7 +50,7 @@ public BitlockerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Bitlocker.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Bitlocker.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get bitlocker from informationProtection diff --git a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs index 6b9ef0fc055..3759d7fbb3a 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs index 13d01935ca5..4ea7ab06582 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/Item/BitlockerRecoveryKeyItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, BitlockerRecoveryKey.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BitlockerRecoveryKey.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a bitlockerRecoveryKey object. By default, this operation does not return the key property that represents the actual recovery key. To include the key property in the response, use the $select OData query parameter. Including the $select query parameter triggers an Azure AD audit of the operation and generates an audit log. For more information on audit logs for bitlocker recovery keys, see the KeyManagement category filter of Azure AD audit logs. diff --git a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs index 5b7b3eb2a2a..aa4b3a36eaf 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/Bitlocker/RecoveryKeys/RecoveryKeysRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BitlockerRecoveryKeyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BitlockerRecoveryKeyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the bitlockerRecoveryKey objects and their properties. This operation does not return the key property. For information about how to read the key property, see Get bitlockerRecoveryKey. diff --git a/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs index e8e59b5266b..18aedf508f3 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/InformationProtectionRequestBuilder.cs @@ -55,7 +55,7 @@ public InformationProtectionRequestBuilder(string rawUrl, IRequestAdapter reques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InformationProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InformationProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update informationProtection @@ -76,7 +76,7 @@ public InformationProtectionRequestBuilder(string rawUrl, IRequestAdapter reques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InformationProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InformationProtection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get informationProtection diff --git a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs index 25669f635db..ac09e41bce8 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs index fc63c765bf9..20d4bcb2c1d 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs index f9334c9aa65..5972777c1e1 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/Item/ThreatAssessmentResultItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ThreatAssessmentResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property results in informationProtection @@ -85,7 +85,7 @@ public async Task PatchAsync(ThreatAssessmentResult body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property results for informationProtection diff --git a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs index 1dbf6f58197..be82c533c82 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/Results/ResultsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ThreatAssessmentResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentResultCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to results for informationProtection @@ -79,7 +79,7 @@ public async Task PostAsync(ThreatAssessmentResult body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of threat assessment results. Read-only. By default, a GET /threatAssessmentRequests/{id} does not return this property unless you apply $expand on it. diff --git a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs index 527c8e0de39..ea3730edb68 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/Item/ThreatAssessmentRequestItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a specified threatAssessmentRequest object. A threat assessment request can be one of the following types: @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ThreatAssessmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property threatAssessmentRequests in informationProtection @@ -91,7 +91,7 @@ public async Task PatchAsync(ThreatAssessmentRequest bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property threatAssessmentRequests for informationProtection diff --git a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs index d3d708c3d63..93852705408 100644 --- a/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/InformationProtection/ThreatAssessmentRequests/ThreatAssessmentRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ThreatAssessmentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new threat assessment request. A threat assessment request can be one of the following types: @@ -81,7 +81,7 @@ public async Task PostAsync(ThreatAssessmentRequest bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ThreatAssessmentRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of threatAssessmentRequest objects. A threat assessment request can be one of the following types: diff --git a/src/Microsoft.Graph/Generated/Invitations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Invitations/Count/CountRequestBuilder.cs index 48bfb4daf30..0f4ddbccec5 100644 --- a/src/Microsoft.Graph/Generated/Invitations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Invitations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Invitations/InvitationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Invitations/InvitationsRequestBuilder.cs index 9c55827e589..c605149fed9 100644 --- a/src/Microsoft.Graph/Generated/Invitations/InvitationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Invitations/InvitationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, InvitationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InvitationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new invitation. Invitation adds an external user to the organization. When creating a new invitation you have several options available: @@ -80,7 +80,7 @@ public async Task PostAsync(Invitation body, Action(requestInfo, Invitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Invitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from invitations diff --git a/src/Microsoft.Graph/Generated/Invitations/Item/InvitationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Invitations/Item/InvitationItemRequestBuilder.cs index 3398c4536ac..dbc93c18893 100644 --- a/src/Microsoft.Graph/Generated/Invitations/Item/InvitationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Invitations/Item/InvitationItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get entity from invitations by key @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, Invitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Invitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in invitations @@ -90,7 +90,7 @@ public async Task PatchAsync(Invitation body, Action(requestInfo, Invitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Invitation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from invitations diff --git a/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs index 3110e111bc3..c498b367f8a 100644 --- a/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/InvitedUserRequestBuilder.cs @@ -50,7 +50,7 @@ public InvitedUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user created as part of the invitation creation. Read-Only diff --git a/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index b8bc95e639a..e624affc9e0 100644 --- a/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Invitations/Item/InvitedUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Me/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/ActivitiesRequestBuilder.cs index d49f40f59b5..5c0178ccd1a 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/ActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/ActivitiesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UserActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to activities for me @@ -85,7 +85,7 @@ public async Task PostAsync(UserActivity body, Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Count/CountRequestBuilder.cs index df928a311fc..a2a6bfacf53 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs index 8438c33aefb..c45278faaaa 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 4a3c905412b..96da27c90b7 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ActivityHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to historyItems for me @@ -79,7 +79,7 @@ public async Task PostAsync(ActivityHistoryItem body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs index 4661ca1946e..f27b586502d 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional. NavigationProperty/Containment; navigation property to the associated activity. diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs index 49d9a60110d..fec89015c34 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. @@ -69,11 +69,11 @@ public async Task GetAsync(Action(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new or replace an existing history item for an existing user activity. - /// Find more info here + /// Delete an existing history item for an existing user activity. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -91,7 +91,7 @@ public async Task PatchAsync(ActivityHistoryItem body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property historyItems for me @@ -144,7 +144,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new or replace an existing history item for an existing user activity. + /// Delete an existing history item for an existing user activity. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Item/UserActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Item/UserActivityItemRequestBuilder.cs index fd8fe777122..96de8e80c78 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Item/UserActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Item/UserActivityItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// The user's activities across devices. Read-only. Nullable. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property activities in me @@ -91,7 +91,7 @@ public async Task PatchAsync(UserActivity body, Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an existing user activity for your app. diff --git a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentRequestBuilder.cs index b3a530ee841..39210f983a1 100644 --- a/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Activities/Recent/RecentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, RecentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RecentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service will query for the most recent historyItems, and then pull those related activities. Activities will be sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems will not be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. diff --git a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index bf18f5d2568..de8f6ff6325 100644 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the signed-in user's agreementAcceptance objects. diff --git a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Count/CountRequestBuilder.cs index 421f36eac4d..2bf1c5517c2 100644 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 349babc39af..f140121c7d9 100644 --- a/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user's terms of use acceptance statuses. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs index 9fbd6ceef8b..f62dcb2939f 100644 --- a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: @@ -81,7 +81,7 @@ public async Task PostAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the app roles a user has been granted for an application. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Count/CountRequestBuilder.cs index 674af2c3519..89d4ac09448 100644 --- a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs index 2e4ea5db975..8ca1e3b7447 100644 --- a/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Represents the app roles a user has been granted for an application. Supports $expand. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appRoleAssignments in me @@ -86,7 +86,7 @@ public async Task PatchAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an appRoleAssignment that has been granted to a user. diff --git a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs index 4e69aed6ca9..0aebdd99956 100644 --- a/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/AssignLicense/AssignLicenseRequestBuilder.cs @@ -48,7 +48,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs index 893b5a4dd2d..f60a78c8f6f 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/AuthenticationRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// The authentication methods that are supported for the user. @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property authentication in me @@ -135,7 +135,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authentication for me diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Count/CountRequestBuilder.cs index 09bc07fcfc1..e97498f9f26 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs index bf74bc130d4..c5637a0f9e7 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EmailAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. @@ -81,7 +81,7 @@ public async Task PostAsync(EmailAuthenticationMethod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs index 01b61a68457..2e10b525243 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single email authentication method object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a user's email address represented by an emailAuthenticationMethod object. @@ -88,7 +88,7 @@ public async Task PatchAsync(EmailAuthenticationMetho {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a user's emailAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Count/CountRequestBuilder.cs index 63ab5a3f39e..4f5a2838cf8 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs index cda58f4b98e..bbbad93d6dd 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, Fido2AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Fido2AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs index f94bab2085d..2d9ef07bfa7 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single FIDO2 Security Key Authentication Method object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Fido2AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Fido2AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a user's FIDO2 Security Key Authentication Method object. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Count/CountRequestBuilder.cs index 4a4c64f7c71..c02d5dd1a2b 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs index 28377b9fac9..b697b0b9cc6 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property methods in me @@ -72,7 +72,7 @@ public async Task PatchAsync(AuthenticationMethod body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of an authenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs index 6d860130f45..1f3b1899ec8 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ResetPasswordPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordResetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordResetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and cannot be performed on a user's own account. This flow writes the new password to Azure Active Directory and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and will return a Location header with a link where the caller can periodically check for the status of the reset operation. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs index 04d8a0a0c4f..717bf5f6e44 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Methods/MethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to methods for me @@ -80,7 +80,7 @@ public async Task PostAsync(AuthenticationMethod body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Azure AD authentication methods API overview for a list of currently supported methods. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs index 13fdf27b909..64cf8bf9393 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs index 538197960c5..285dfe60899 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs index ba804bb9cfd..8bea972df2f 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a microsoftAuthenticatorAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs index 7cd06f7ff1b..73a503eb7ad 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MicrosoftAuthenticatorAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MicrosoftAuthenticatorAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Count/CountRequestBuilder.cs index d8c6cfcb829..969dbcca009 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs index ac19c7f6ace..7b88fb3a269 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in me @@ -86,7 +86,7 @@ public async Task PatchAsync(LongRunningOperation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for me diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/OperationsRequestBuilder.cs index 6a68181b9a6..9a62cfecafe 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, LongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for me @@ -79,7 +79,7 @@ public async Task PostAsync(LongRunningOperation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Count/CountRequestBuilder.cs index d66b50166d5..b13e58be6c7 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs index 97d4dbb82f7..974fc195517 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs index c4eaef094f8..d5284c43ae9 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to passwordMethods for me @@ -80,7 +80,7 @@ public async Task PostAsync(PasswordAuthentication {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This will return exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Count/CountRequestBuilder.cs index 43c987e347c..9b69071ba39 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs index 834a262c7ca..60160cd33f3 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs index a903a1c61a9..ccf42611d9c 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs index 73fc6c9bec0..8f1b46487b5 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Azure AD and B2B users, but not B2C users. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. @@ -98,7 +98,7 @@ public async Task PatchAsync(PhoneAuthenticationMetho {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a user's phone authentication method. This removes the phone number from the user and they will no longer be able to use the number for authentication, whether via SMS or voice calls. A user cannot have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs index 952121cd5ba..a311854d06e 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action

(requestInfo, PhoneAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } ///

/// Add a new phone authentication method for a user. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system will attempt to register the number for use in that system. @@ -81,7 +81,7 @@ public async Task PostAsync(PhoneAuthenticationMethod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Azure AD and B2B users, but not B2C users. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs index 943c5b0e365..bb81c63d7a5 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs index 10b6223ae11..aa63e5f567c 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single Software OATH token authentication method object and its properties. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a user's Software OATH token authentication method object. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs index ec1dcdc692e..ec290c5df95 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SoftwareOathAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SoftwareOathAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's software OATH token authentication method objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs index 98d12040896..b911f7afbf4 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs index ec556cafbfd..81c04890167 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single temporaryAccessPassAuthenticationMethod object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a users's temporaryAccessPassAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs index 48e66de1bfc..3aa26bbffca 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task Get {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. @@ -81,7 +81,7 @@ public async Task PostAsync(TemporaryAc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs index d87072d06da..e562fd7759b 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs index 00bf25789f9..c05292bb5cc 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs index 3619f211808..50291b9477c 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsHelloForBusinessAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs index 1759561be6d..ad1de4fa9cf 100644 --- a/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsHelloForBusinessAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsHelloForBusinessAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index ec240369739..7a03cc94871 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function allowedCalendarSharingRoles diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index a8e86f41dd5..4bc8660c133 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarPermission body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs index 27a3c1504b0..c4d2b5b2101 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index d3dbf3e434a..cfa15f941a3 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified permissions object of a user or group calendar that has been shared. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the permissions assigned to an existing sharee or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. @@ -88,7 +88,7 @@ public async Task PatchAsync(CalendarPermission body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete calendarPermission. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarRequestBuilder.cs index 6ecaa9e06c6..bfc9d1750f1 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarRequestBuilder.cs @@ -75,7 +75,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -97,7 +97,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/CalendarViewRequestBuilder.cs index dc1a3847dcc..6cb3b18a47a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Count/CountRequestBuilder.cs index a6ded0d8eb1..8adef748142 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs index fc5470e6635..e044b5ed528 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 4ca2969f1e2..c7e8a291071 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs index 8272b623201..698db91c77e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 88a3beda7ac..28a538c9a53 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 0fffc3c4076..6a079d24f7d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 21792fec344..c0b6ed5033d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 9547906c610..36a058eb588 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 83a4e1e8ad6..a4fa85880a8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 165acac066c..654b1a6ce74 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs index c437c80d5e7..f9964015a14 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 200baeea69f..f2ce9c41f58 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs index 19fa68ce1be..c64ed2d1b79 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 991a12b8f78..20e4dc6a54c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index ea6e5d7bb04..f9b88e9e8fc 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/EventItemRequestBuilder.cs index b83ab1c7f35..1239cb22f11 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -160,9 +162,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index defadde7a38..2a7ee95b758 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 28b06d68ca1..2d34fcec94f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 91e52ec1fd0..631964bfc86 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs index aa7c461efd9..1041a88955a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs index ac23a97c55f..d0b384475d8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 790512327d7..0a06de69391 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 1e7cc52785d..90b993e694f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 9007d50201f..735c14450bc 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index a9820cea42b..7ef19b0ef54 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 6b234634579..4fbb08cc9f2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 58a3c74ff26..79ae8d71210 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index a0fe8f1e46a..1ace8d9b395 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index fc26bf44551..2fbc8f511e2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index e2dc2216016..b8482a62fd7 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 585cfac9f49..6efd0fa6259 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 5cd00dbb8dc..b1a94d33cbc 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index fa99f0d952f..f446d9703c5 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index c86863a663d..7b944fc28f4 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 97fd2a11e8e..4e771ee7bbc 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index c347a31d148..028a96605cb 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 1ef351060a0..6526bdfdae6 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 3b8374f79f2..3d31cf2eabb 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index c2f6e2a6ed7..ebaf3e8015a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index f0937b5379c..d008a4ac43d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 7b9eb93eb00..77916c95ba2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 94e7a415e4c..1864ab22626 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 09fcb51d673..ed4edc7efff 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 6c04e8f25b4..12afee50a10 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 17763b938f0..cf3b668f9cb 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 3aa744d8cd2..71d4471ef50 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 58f51520be4..988daa096a3 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 356c5112793..ce025f73c00 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 7c14afae700..d481ff3ed9b 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index ef362dd17d6..e9fa8a37f9c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 19aacba77a6..05f8c9bcd77 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Count/CountRequestBuilder.cs index e5247cd2e6b..cbdf06189cf 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaRequestBuilder.cs index f122794f9e6..736bd518efe 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/EventsRequestBuilder.cs index 1688f7c3112..c280831817b 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index be862edf053..32105d8e414 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs index 2289e7992b1..137ba10be3c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index d5253accea3..12dbb640e17 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs index 426b01081f7..e34e1f73ae6 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 06784c57a3a..e1d7daccc03 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index f5e1709f6d9..20057e6a8f2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 228dd14857e..57974e55d0c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs index d7b361c52bc..d01614edf7d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs index 1847f26ce97..9a26739053c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs index 653a18ef4e7..fdf4ea2ac0a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index 46cac376ea5..139ba8bc691 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs index b1cb46ffb41..13db05a3593 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 6d298a8697d..fccb334617f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/EventItemRequestBuilder.cs index 2b08a448f1a..82d737d513e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// The events in the calendar. Navigation property. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an event object. @@ -141,7 +141,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property events for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs index 68e598e4298..37f711f3f16 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 30a68606efb..01c888c614b 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index abbef573471..06be08f137e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs index 1e52072bfeb..598422de9df 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs index 8cc98d0c62b..90e72d677d2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs index ade9ba6bb0d..c5453fc3c12 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index ed7fef0768e..20a96e7af5c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs index 96d6c6c5c83..e4ae6dcaeed 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index f770761b8b7..bd7c0991ca1 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 6c08d0805c1..988b9092790 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 0db463968a9..85b2269e535 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index bbfb346a8c2..5d7ca67083c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 9a36ca93e3d..f59f2c9f108 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index b263d908712..44b9f3baf1a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 2ca02e045d9..44d8546231a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 3f7986ca8de..6017ebdec55 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 98515c2c094..ea3f533b361 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 5fd18f3a704..f43c290557e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 3cf75d2afea..48d8203e96c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index a6bc8e0fa42..1dac88c2e1d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index bcf6f229de5..3c372693b0a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs index df62ab6cebf..622a8cd0e5c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index a8f6a5a0d17..79d905145ee 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index d3a67e939f0..23c0510f185 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 8ed1c23024e..6961c4a1b60 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index bc5a5da583b..668c9096cee 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index d3c3642d579..7d5862c7bd7 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index aa6838d027a..693350a2f92 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 52330e583e8..31b06bf6780 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index e3c052e6f95..6fc0f9a9d50 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 8a8e46263ea..e61f352f21e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 9b6f748f99c..273026a5a14 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index f3ecf6967db..2ee28649e46 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 9392c138020..de7067bddbb 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index a213c675249..162be58aeb5 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostRequestBody.cs index 10a7c950fde..6f0cad1b6e7 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetSchedulePostRequestBody.cs @@ -15,8 +15,8 @@ public IDictionary AdditionalData { } /// The AvailabilityViewInterval property public int? AvailabilityViewInterval { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } + get { return BackingStore?.Get("availabilityViewInterval"); } + set { BackingStore?.Set("availabilityViewInterval", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } @@ -24,42 +24,42 @@ public int? AvailabilityViewInterval { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #nullable restore #else public DateTimeTimeZone EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #endif /// The Schedules property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Schedules { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get?>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #nullable restore #else public List Schedules { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #endif /// The StartTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #nullable restore #else public DateTimeTimeZone StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #endif /// @@ -82,10 +82,10 @@ public static GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"availabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + {"endTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"startTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -94,10 +94,10 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); + writer.WriteIntValue("availabilityViewInterval", AvailabilityViewInterval); + writer.WriteObjectValue("endTime", EndTime); + writer.WriteCollectionOfPrimitiveValues("schedules", Schedules); + writer.WriteObjectValue("startTime", StartTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleRequestBuilder.cs index 80cf329db5b..ac7ef61a98b 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendar/GetSchedule/GetScheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSchedulePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/CalendarGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/CalendarGroupsRequestBuilder.cs index 1f0467117ba..4101f89d85a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/CalendarGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/CalendarGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new CalendarGroup. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarGroup body, Action(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the user's calendar groups. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Count/CountRequestBuilder.cs index cf4fb34c430..9af1c2ac5ac 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs index 4477d5e6858..8f3631a0407 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a calendar group object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of calendargroup object. @@ -93,7 +93,7 @@ public async Task PatchAsync(CalendarGroup body, Action(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a calendar group other than the default calendar group. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs index a01b57985fc..7acd7e1cc34 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new calendar in a calendar group for a user. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of calendars belonging to a calendar group. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs index dafe55f182f..b98dd8c4be7 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index 5c04beb93dd..8023bce4907 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function allowedCalendarSharingRoles diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs index 1142000b624..93184abf57f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task DeleteAsync(Action /// The calendars in the calendar group. Navigation property. Read-only. Nullable. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property calendars in me @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property calendars for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index b5b8e2c16b2..aeabe1a0d6b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarPermission body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs index c1e367d845e..f2b30cfaf90 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index 46ec1393ccd..f7310000191 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified permissions object of a user or group calendar that has been shared. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the permissions assigned to an existing sharee or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. @@ -88,7 +88,7 @@ public async Task PatchAsync(CalendarPermission body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete calendarPermission. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs index 753e1714546..46db2f0f781 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs index 4b6f9050da2..0e7c0c94066 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs index 91cc972a510..dcf466f7985 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs index f90efe70813..df4b88c2215 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs index 272d9714323..b3ac1300c5d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 98c625f68f3..635a0056c4a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index bae7872d404..9f478cc0b2a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 68a01617fe8..5014ad70cb1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 2ac9dee8e00..1c016dd505c 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index a3a6e53b2d8..5b9e502c6fa 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 8372e92887c..6bafdee415b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs index bdd1932f7dd..8d88cca8451 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 009e2f0cae1..6cf7d2daf0f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs index c1216b1c465..a09e8814a8a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 242eed2bb6d..1281fb09a0d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index d4a5c4b4c2f..e8ce3a4d8ec 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs index 3d7b31ddedf..1a87d9c3b1a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index 4977d3adc1f..94fcaabb6a1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index c92a96327eb..0ff45a5da41 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index c753b5512ec..4a4f191d82d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs index 3290243ae92..c1e2d13f373 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs index e5e0acfa351..44c0f8bc718 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 9c1b4cd3067..3958d79ad08 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 3e94c95d9aa..98c3b851e49 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 5ba104d65cf..bb49878ba4a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 64a4b2576c2..5d98af7c8b0 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index c93d9af80b1..275c8bd9dba 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index d636c18e0fd..ca0c4f8377f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index c4c804a0f10..94fa84504ef 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 02a2273d3ad..156479f04d8 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 6d2742abcbb..a0f859c0532 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 5091ef418a5..69107f8a169 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index bde7f0c2265..918cfc476f1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index dae8d1d1080..d9fced211f5 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 1673ae2face..0f14f88edb7 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 5bbe9a1b35f..433760ea916 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 05128cf3c87..34a5c9131e1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index aa6201f9962..893155deeb2 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 97b28883dc8..1c5bb546a10 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 8107d539932..a62edf484c1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 4e481c98da4..e1871e53499 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 85b3a4f8250..1036712cdcf 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index cb9002d4cdf..7f4d7cbc892 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 92b14153499..bbd5d741fd8 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index ba0e24bea5d..ffe8adf4b3d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 0ab9999fa13..6601eb69c20 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 750ee380533..d870153f26e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 3363fd711e3..5df2d32e780 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 43f542eafda..b962894bf55 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index ab8107f7ed1..4885ccea056 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index fb823c8afed..481608f5ed0 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 0fe947b5248..be39f2e15fa 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs index d3c04f07e1c..b40f511d511 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs index 787ccb4ac0c..833b4748ac0 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs index f4e98a27455..a52e5dd0372 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index e9207a2bece..7c7a05d916a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs index f002c1b7c12..3d3695dec86 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 91f1e24553c..be7022e93cc 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs index 275d7f681fe..f815d6b894d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index f63082ae52f..ea309332f81 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 687ad6b8c89..2c4ace7ea2d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index deb1cf15936..b00022fc23b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs index 6c5235cd3df..0b23aaf4ef6 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs index d4afda4b516..5c269c9de3f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs index 897265cbe0d..9f957b00483 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 3b42d2c1a25..eb86f74aa8f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs index 3afc424fd67..2fe0a72fa8a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 2f018f3c191..2d5e823b0f7 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs index cf0bba4929c..97e85a8730e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// The events in the calendar. Navigation property. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an event object. @@ -141,7 +141,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property events for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs index 207e334b322..1eb6039fe50 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs index e959c498531..0dddf701ab7 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 48bdb8322a7..bcf59718476 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs index 59a7ab1d177..9b47b276fc7 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs index 79ac3281f8b..39f3b445419 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs index 871fb28248e..0dd2d02ed06 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 189db85e69f..3f7b5adb661 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs index e63ed3e6c91..021c2616b35 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 7d5879bacd7..5ebc4248376 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 530af9ae9ea..ae3a8b6f0b7 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 4c1e0434b4f..0683270f7bf 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 5912c0c2db5..a0dc3d23090 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index e54d7d0a9be..f1e8f654831 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 05159a2899e..273ecfdb1a9 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 15ece9ea8df..0fe9a21ea2b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index cfee3ae57a9..70026e5d175 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 32363cebb60..a3122276174 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index b333dbc9f3c..4817b04e40d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 460037bfce2..66f0bc0039d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 8204fa67a95..f7815b5bfc2 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 5fa63521189..ad60aa84044 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs index 26ef62a1f7a..892e3d64b4d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index e143a9e3e52..1655db52071 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 20fb78c08a1..96c6ca06f3c 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 5754f6d8ec4..cedf4735b7b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index e77846a16af..f7567f2fd09 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 88a0df90808..e0bb52d6135 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 9200c6e9ba3..5ff9d215886 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 7f170fa1753..1a041c3131d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 0bb80905bc1..550e847b1de 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index f593e54379e..1b1e7c849e4 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 4b3b6358f1c..8bb38840a72 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 6ecdf1a577a..18c1ee18b2e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index ef6ae3ccb9d..57a7bdde924 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 5fcd555d0cd..b2b88d30005 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs index b374606600d..e5dcb09bb88 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs @@ -15,8 +15,8 @@ public IDictionary AdditionalData { } /// The AvailabilityViewInterval property public int? AvailabilityViewInterval { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } + get { return BackingStore?.Get("availabilityViewInterval"); } + set { BackingStore?.Set("availabilityViewInterval", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } @@ -24,42 +24,42 @@ public int? AvailabilityViewInterval { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #nullable restore #else public DateTimeTimeZone EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #endif /// The Schedules property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Schedules { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get?>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #nullable restore #else public List Schedules { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #endif /// The StartTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #nullable restore #else public DateTimeTimeZone StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #endif /// @@ -82,10 +82,10 @@ public static GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"availabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + {"endTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"startTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -94,10 +94,10 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); + writer.WriteIntValue("availabilityViewInterval", AvailabilityViewInterval); + writer.WriteObjectValue("endTime", EndTime); + writer.WriteCollectionOfPrimitiveValues("schedules", Schedules); + writer.WriteObjectValue("startTime", StartTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs index 09c3d3b15e9..2ca6a9fa764 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSchedulePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/CalendarViewRequestBuilder.cs index 26b1da4ca1c..7064c38e834 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Read-only. Nullable. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Expand related entities @@ -160,9 +162,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Count/CountRequestBuilder.cs index 3c46796131d..858a3ffd852 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaRequestBuilder.cs index 1ca62ef2db2..ef847370c67 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptPostRequestBody.cs index ee401ff7cd2..99dbccc64b3 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptRequestBuilder.cs index 3c9918668e6..a50e1480188 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index ced4649d453..b33b5673a15 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 858e53bbb91..23a4aef98f0 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index b87a71b0c8c..fd15453bd1c 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 19ec4f18bed..2d231ba0e0d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 1a9777c96fb..fa124584621 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 3239058740b..7e8d6e3952e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelPostRequestBody.cs index 247c9add7bc..80f429f8739 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelRequestBuilder.cs index b438ae036b9..a24857d64d3 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclinePostRequestBody.cs index cffe5f1b4fc..c72927ab210 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 34d87c732f9..8e1087d8a1f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index ba30060f8ef..8814369185f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/EventItemRequestBuilder.cs index f9c1cad9924..bccae025616 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Read-only. Nullable. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Expand related entities @@ -170,9 +172,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index dd7e09fe00f..172147eb962 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 674f6ca1bf6..f10b29c729d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 393fb51dc90..c1dd26ace54 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardPostRequestBody.cs index b0177c1a382..d2c24c4c228 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardRequestBuilder.cs index 86a609811b6..368c825ce3e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 3c325b1490e..5393ab8075f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 0f4a76d935b..825b1116789 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/InstancesRequestBuilder.cs index b8bcc16675c..88958bafce1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 47e58b000e3..e090c5f4de4 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 29d0fe4f17f..5effdfebf9f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 7806dfa8009..9d807f76eb2 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 357f467e966..895dc2d3d54 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index edeb9fd7863..99ff3e6ea6a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 1e0c7bca0fa..e3ba2b0278a 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 8b58a4cedc5..8a66ac4df05 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index ecab13a75a8..79b7a07837f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 3c2418a72bb..c449b07f283 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 3664b38f9b9..60430e7335e 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index ca24f66366f..b474ab179a1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 3812dfc9b4e..5e7ad0bc3e1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index fd2aea2c3a0..b2529a6aed4 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index dcc1c0aa00d..5836387e525 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 4e605a1797e..344da3159cb 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 06d2ec25031..cc77fef17e3 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 04cc87c0676..6473ab54e3b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 26033fea4b9..68194b96f85 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 8eb3f6bab2f..5bdfc8d270f 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index bfe87bd2418..7aa91bc04c9 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 43163cb87eb..384336e2419 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 32379552530..76651a5951d 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 896a3b86ed9..699c51bb2a0 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 30abe50d2a2..31ee782a149 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index e8740384ef5..3c43c0510b1 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index ceb618d34a6..00c3ad4dc9b 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 0f25892242c..d83a7ab8a40 100644 --- a/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs index 96dd1d6468a..14b881565e8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/CalendarsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new calendar for a user. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Count/CountRequestBuilder.cs index 3663c43a674..62c850086e8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index 69d7ffdbf31..ba3db6ac7ed 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function allowedCalendarSharingRoles diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarItemRequestBuilder.cs index f9edc9276c6..ada5ea8c887 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarItemRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task DeleteAsync(Action /// The user's calendars. Read-only. Nullable. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property calendars in me @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property calendars for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index 862a065b6b3..794c0805194 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarPermission body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs index 5762efd47dc..831b2447841 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index de5319c4647..b23983660ac 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified permissions object of a user or group calendar that has been shared. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the permissions assigned to an existing sharee or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. @@ -88,7 +88,7 @@ public async Task PatchAsync(CalendarPermission body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete calendarPermission. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs index 28f37364351..0cf9f6070fa 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs index 9564298a244..e48c48324f8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs index 841cc9e8eec..0675e32b7da 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 3826f8df163..4d5fd07ed38 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs index ad466ab4c2f..420272469a3 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 8a47b269b71..d3626f8a45c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 025a9d06318..d92ad39b9b6 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 759616b0075..a2b9765ca21 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 76f5541b838..984bdf0a6f1 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index ed5f5d2c165..ea63708cecf 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 5b9c3ce6e3b..705d513eff5 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs index 54d0883f219..2851ae9c4c1 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 6abe5d41a8d..faef8d2f561 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs index 8e7f7aaceae..5f7fa5fbccd 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 85a30ab7c52..05b8385b37f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index 64998a95ea0..8e84a574a1c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs index c4d61b7cdf1..d09aaf10466 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -160,9 +162,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index f31f39b2545..84415c24403 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 49418e1307b..b2e4ab39131 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 8f4fc605911..ef480756dc0 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs index 46436ec8353..a55c5490ec1 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs index c96f6cee606..8b2930e338f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index d36cdb61016..38f4a3d6a92 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 0a47c645057..8e1377c7625 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 1af7f0b0349..ef876f9a809 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 7ba44004eec..ef1540baeea 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 9a0d1a48226..f2a054884ff 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index c477439e613..b274b3f8a0c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 046d71b5502..d27c89a0566 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index ef9189d6300..19cd1ef2364 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 2f2cfcd7aae..8aeacd54746 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 572129ebd88..4e0012a9fef 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 10ee56f8f8b..0d8017bfbb2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 58fa20f308d..2f5f255b949 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 1d4c04f93f2..6a051f86103 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 90b105998bc..89eeacf6ed0 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 65c51289a47..40245eb1905 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 6d21f253cae..cdfe046f90e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 317d14948dc..0a336ec06af 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 455d4f28588..8718e1facba 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 5e64ad8081a..2f229ae223d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a9aa64acbf6..21a564f78c9 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 894fd2dd73f..e5bd5b42303 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 33ac26bf6e8..d4f1e5ea907 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index a67cc760ea2..c2bae1f5662 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index a3b2bf6bf7e..430f405c54e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 2721aacc4a4..7d4be2024d3 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index fe0f4c6cacd..cc60a3cb46e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 308e756a1db..bea3d54a1f8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 2098f39c49e..5054e6343aa 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 932923c4303..7f511d122d6 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 1f13c7712a5..4a7af8d0111 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Count/CountRequestBuilder.cs index c61669ee0a9..2b4fe692ee9 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs index cb788d4c433..a1a2b61bd9f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/EventsRequestBuilder.cs index bd307f66fe5..6ee81312e3d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 500efcab900..f4ac7222d1c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs index 76ce97430df..0f27cdc6315 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 053d38ba190..ceb71175fb8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs index 78085951b13..10d0de86528 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index e196f11ec65..26fc508badd 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 1fc449448bd..3b23fa4a43f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 4a5e4dc6800..556f5928190 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs index 6f5df0a67b4..3ee46c68073 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs index 8cd16353c93..558711cc795 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs index dd3387f64ec..2367e054a7e 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 48d38feb259..2cd3779c50f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs index d71431fdd72..75eb54b96ea 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 586b4b93451..2a902663233 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/EventItemRequestBuilder.cs index 8a80bff3f67..28496812846 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// The events in the calendar. Navigation property. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an event object. @@ -141,7 +141,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property events for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs index 4420c9e4145..50580548896 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 563dca51e13..a040715fc7a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index edb6109957e..eb235a30e86 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs index 4c13c8aaae4..5b2350c00ee 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs index 25581bac0c0..8dd9956e38d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs index a3278bbb142..811812e3b7f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index a9b54d816ef..798b22eda24 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs index 3f4f67d9477..eb534639b50 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index b890879d3dd..b79719548f2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 24f3a094967..155531a7edf 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index da31fb765cf..7cccf2c1d13 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 2f7654fb5fc..3f2f68e66f6 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index b91dd6c888b..3af67e7b9f8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index ea2f9d988b3..69b50523848 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index c41e3775d64..883501cb598 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 97961e6efca..f7389c7e145 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 942d597133b..5d6c7f4e221 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 67a9310c3a8..255fc3a3cd4 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 31287a79522..5b66a2e31c1 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index bced67e4c67..e03fe46b987 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 31f8685888b..ee7b3de9e4a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs index bf4a3f51eea..987cf239d31 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 68e67bb2263..a0a6df1621a 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index f95ab6f857c..7edcb7c6612 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a82d9ed282d..d4753244e42 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index fa427734c6e..a5af61e13b0 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 7848e4a2336..bafce6b54bc 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index ae9cf20d077..cec6c47941f 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 060863c7428..e4aa99a6b8c 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 920a58d5c32..4641efd1d2d 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index ecb97edd521..f2fbe0265c8 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 3608a91551b..1193f17f3bb 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 0ba121e3f0d..edeb88a3864 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 8d4d20a1030..03e7db60cd2 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index fe199407b78..b13e5aec42b 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs index a8131cc13ea..d8aa75b3bc9 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs @@ -15,8 +15,8 @@ public IDictionary AdditionalData { } /// The AvailabilityViewInterval property public int? AvailabilityViewInterval { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } + get { return BackingStore?.Get("availabilityViewInterval"); } + set { BackingStore?.Set("availabilityViewInterval", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } @@ -24,42 +24,42 @@ public int? AvailabilityViewInterval { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #nullable restore #else public DateTimeTimeZone EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #endif /// The Schedules property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Schedules { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get?>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #nullable restore #else public List Schedules { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #endif /// The StartTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #nullable restore #else public DateTimeTimeZone StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #endif /// @@ -82,10 +82,10 @@ public static GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"availabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + {"endTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"startTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -94,10 +94,10 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); + writer.WriteIntValue("availabilityViewInterval", AvailabilityViewInterval); + writer.WriteObjectValue("endTime", EndTime); + writer.WriteCollectionOfPrimitiveValues("schedules", Schedules); + writer.WriteObjectValue("startTime", StartTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs index 3fafa895ddd..332459b6662 100644 --- a/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSchedulePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. diff --git a/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordRequestBuilder.cs index 43107e011b1..3a4696d3507 100644 --- a/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ChangePassword/ChangePasswordRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChangePasswordPostRequestBody body, Action /// Enable the user to update their password. Any user can update their password without belonging to any administrator role. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/ChatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/ChatsRequestBuilder.cs index a07cf8731e8..887492ac222 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/ChatsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/ChatsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to chats for me @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Count/CountRequestBuilder.cs index a0cd7d81376..8066924b2bc 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs index 9babccaec96..b0377febcd6 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs index f845491f168..5ebe2eba885 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/ChatItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property chats in me @@ -146,7 +146,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property chats for me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserRequestBuilder.cs index 1877ad3649d..0d94250bdd6 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/HideForUser/HideForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HideForUserPostRequestBody body, Action /// Hide a chat for a user. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs index 91edcd5afb6..45cb994fd49 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs index b3f22a7f236..eebe8740e06 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install a teamsApp to the specified chat. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsAppInstallation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all app installations within a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index fa3376b3bb6..48bb4846657 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index 9483e9706b7..5374316bffa 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index bdf97313838..f8816eaa9e3 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Get an app installed in a chat. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in me @@ -102,7 +102,7 @@ public async Task PatchAsync(TeamsAppInstallation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstall an app installed within a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index 99d9c094424..340215628bc 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpgradePostRequestBody body, Action /// Upgrade an app installation within a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs index 0f726caf178..11389e48cb7 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property lastMessagePreview in me @@ -85,7 +85,7 @@ public async Task PatchAsync(ChatMessageInfo body, Action(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property lastMessagePreview for me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs index c79a3551e40..027da1b7ad3 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkChatReadForUserPostRequestBody body, Action /// Mark a chat as read for a user. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs index 67718e3f960..f88a42d9d11 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkChatUnreadForUserPostRequestBody body, Action /// Mark a chat as unread for a user. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddRequestBuilder.cs index 1653678957e..1fc9caa35f0 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Count/CountRequestBuilder.cs index 57c6cb723d5..ec4e06dd12b 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index f2192360f2b..b813f543797 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -46,11 +46,11 @@ public async Task DeleteAsync(Action - /// Retrieve a conversationMember from a chat. - /// Find more info here + /// Retrieve a conversationMember from a chat or channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in me @@ -87,7 +87,7 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a conversationMember from a chat. @@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a conversationMember from a chat. + /// Retrieve a conversationMember from a chat or channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -191,7 +191,7 @@ public ConversationMemberItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve a conversationMember from a chat. + /// Retrieve a conversationMember from a chat or channel. /// public class ConversationMemberItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs index 3a0e9b20d1b..bb9af6dfc19 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a chat. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all conversation members in a chat or channel. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Count/CountRequestBuilder.cs index 0d1b632b31e..38f52465f6d 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs index 3407dfd61d4..728b940add3 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index 152704dd7b4..a532aeca067 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in me @@ -116,7 +116,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 01008523ca4..52729e1aafe 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index d6999724fdf..33aab62e952 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for me @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index dd2fe99f893..59bf0c3f64e 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in me @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 399e32a11db..cd2525d8af2 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index 26deef695d5..6bb31eab561 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 8f5b063ab66..3e70a2d7f04 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 4f1b4a52a7d..694a195632b 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in me @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index ba257c23a66..16562defd5d 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 37701deb87c..12df94054c8 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for me @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index a55c7e9ea61..235c344d6b7 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in me @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 22f2db62d90..48af119ed59 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index fe2f2257be5..7b1fa43bdc5 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index fe64d441fd8..b85a6b04dfd 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 25ac48758a2..147af157260 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index cf46805dd85..3ac057a9ffa 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 3c8cad388ad..ffd90e6b539 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index f47ec82121b..1fbd6ccab2e 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index cf3f164524e..4b303436ff8 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 70cdd2dde28..d3a5d04b3b8 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index e7f91163f29..ee9445704ca 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs index 3bac9f1d03f..8db11f1d371 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs index 0dbe3adcefc..f01e69ddec4 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs index 606e577fc9b..02b29fc638f 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 39bb092546c..40b793832aa 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index 9e4b87df649..95159cdc9dc 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 824a3665a9e..5d3fe85f344 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 06e194595b9..75a75762c9a 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 317d17950ab..68768d57259 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 1b1f5374801..0eed99ec6d6 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 8c117d85596..9938533da1c 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A collection of permissions granted to apps for the chat. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in me @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for me diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 3dde06b5d40..595c3251c6d 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 50792cd80f4..fee613118d5 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for me @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the chat. This list specifies the Azure AD apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 42937d5d856..35e2bef50eb 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs index a7c63157245..6f5f3a8523d 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs index 7d4569da3e3..6f4a7f90273 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents details about the chat message that is pinned. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs index 9765576b27b..fca86993079 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// A collection of all the pinned messages in the chat. Nullable. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pinnedMessages in me @@ -91,7 +91,7 @@ public async Task PatchAsync(PinnedChatMessageInfo body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unpin a message from a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs index 6f232dca525..3bfa45096ee 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PinnedChatMessageInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. @@ -81,7 +81,7 @@ public async Task PostAsync(PinnedChatMessageInfo body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of pinnedChatMessages in a chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index c242b3cde7e..910c03daaa0 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Count/CountRequestBuilder.cs index 826ae1918a0..b4b1c29cf24 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index f6de60d4e33..dba225ec34c 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index aa7c53c7a5e..f3a2be19682 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a chat. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove (unpin) a tab from the specified chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/TabsRequestBuilder.cs index 5320c50f3bb..7943e96bca8 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified chat. diff --git a/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs index 2be40bebbf4..9de12fee39b 100644 --- a/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UnhideForUserPostRequestBody body, Action /// Unhide a chat for a user. diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 7326e932014..2eb89e4152f 100644 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 944f10bc76e..142205e5d3d 100644 --- a/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/ContactFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/ContactFoldersRequestBuilder.cs index 78088353271..7d089484ff8 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/ContactFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/ContactFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the contact folder collection in the default Contacts folder of the signed-in user. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Count/CountRequestBuilder.cs index 24c00d9298e..97b84469590 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaRequestBuilder.cs index dafccaa3629..ca6d474ce8f 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 8d856bdd805..f2e5b8c83b1 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of child folders under the specified contact folder. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs index a3ccdfeb5ec..43501f1a2fb 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs index 29c5fd346db..8b7e62ac557 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs index 98e69eb1d26..f8d7667790e 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of child folders in the folder. Navigation property. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property childFolders in me @@ -90,7 +90,7 @@ public async Task PatchAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property childFolders for me diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs index 5cbfb6a9d1d..d4d4a9b0f5f 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs index 91b173c1289..1993fcb6cdd 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs index 7d7e2556249..c9157483fd3 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs index 73942216b46..29659973f3a 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// The contacts in the folder. Navigation property. Read-only. Nullable. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contacts in me @@ -95,7 +95,7 @@ public async Task PatchAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contacts for me diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs index ad0168dd45e..753f09d8edb 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs index be4b0e310b3..c5160327b88 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for me @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the contact. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 9a42a435b88..89dc84276a2 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the contact. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs index 7847f129eb0..d27406dcb0b 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in me @@ -71,7 +71,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional contact picture. You can get or set a photo for a contact. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs index a9d5e5e22b5..7ba4f89ad8e 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in me @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from me diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ContactFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ContactFolderItemRequestBuilder.cs index a74e5eee092..8037cc42294 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ContactFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/ContactFolderItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of contactfolder object. @@ -98,7 +98,7 @@ public async Task PatchAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete contactFolder other than the default contactFolder. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs index b10e7a4e1ad..ad72c6c7b51 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs index 5a178d55678..1341fd0cd6e 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs index 9e097579f2f..0315ed26ffc 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs index 2978aaa7363..c010e974127 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// The contacts in the folder. Navigation property. Read-only. Nullable. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contacts in me @@ -95,7 +95,7 @@ public async Task PatchAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contacts for me diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs index 523c79ffb2b..5741c388fd5 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs index 8734d9aca3b..b8514c22144 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for me @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the contact. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index fe45226c6d3..eefb45e53a7 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the contact. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs index bd8ff698926..4f9b1ff8d3e 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in me @@ -71,7 +71,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional contact picture. You can get or set a photo for a contact. diff --git a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs index 67d8a357300..b92777820a3 100644 --- a/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in me @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from me diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/ContactsRequestBuilder.cs index 1769e31bc73..2a5ba879edb 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/ContactsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Count/CountRequestBuilder.cs index 03b15436f67..db3d5ed34e6 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaRequestBuilder.cs index b2a8f854446..ffe46e3646c 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/ContactItemRequestBuilder.cs index cd021fbf2e1..229528b1876 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/ContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Item/ContactItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a contact object. @@ -98,7 +98,7 @@ public async Task PatchAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a contact. diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Count/CountRequestBuilder.cs index fac169b6cb5..0e5d42af953 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs index 4ed6d66e3f8..70084c4ed16 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for me @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the contact. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 972ada707c3..5c10e9df82f 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the contact. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/PhotoRequestBuilder.cs index f0e1d108b9f..3355e1649c6 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in me @@ -71,7 +71,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional contact picture. You can get or set a photo for a contact. diff --git a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/Value/ContentRequestBuilder.cs index f63b076a42f..c4227ba97d9 100644 --- a/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Contacts/Item/Photo/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in me @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from me diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Count/CountRequestBuilder.cs index f41742a352b..b1318737717 100644 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/CreatedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/CreatedObjectsRequestBuilder.cs index 3cc8573b7d0..ceef06e0e90 100644 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/CreatedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CreatedObjects/CreatedObjectsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs index 92bc95e2e94..251d428bdf6 100644 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 2921c22dc6e..ad7d2ea9e5c 100644 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs index 15ed2a5b155..26b02c52474 100644 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -34,7 +34,7 @@ public DirectoryObjectItemRequestBuilder(Dictionary pathParamete public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/createdObjects/{directoryObject%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Directory objects that were created by the user. Read-only. Nullable. + /// Directory objects that the user created. Read-only. Nullable. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -50,10 +50,10 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Directory objects that were created by the user. Read-only. Nullable. + /// Directory objects that the user created. Read-only. Nullable. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -86,7 +86,7 @@ public DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) { return new DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); } /// - /// Directory objects that were created by the user. Read-only. Nullable. + /// Directory objects that the user created. Read-only. Nullable. /// public class DirectoryObjectItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index a56dfbfbf08..c3fcb85c291 100644 --- a/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs index fe2fab7ab34..1e2e943ab58 100644 --- a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs index 403303c03af..68026af02a7 100644 --- a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceManagementTroubleshootingEvents for me @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceManageme {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of troubleshooting events for this user. diff --git a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs index dc946b19660..cdb582f67ed 100644 --- a/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The list of troubleshooting events for this user. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceManagementTroubleshootingEvents in me @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceManagem {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceManagementTroubleshootingEvents for me diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Count/CountRequestBuilder.cs index b3696e80e6e..cc8b2d57abb 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/DirectReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/DirectReportsRequestBuilder.cs index 58ead53652c..f5d56b7b764 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/DirectReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/DirectReportsRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs index e12e4b4f7a5..5d2921b7cd1 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs index dc4797b6df8..5e03d53da39 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/Count/CountRequestBuilder.cs index 494ce9d68f9..6329bef4281 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/GraphUserRequestBuilder.cs index 239809884cb..b7eb5976bb9 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs index a891dd94d58..c4fad3d2521 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 150d94a0434..32c9823fffb 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs index e515ae12c4c..7ce1279dbfe 100644 --- a/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Me/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drive/DriveRequestBuilder.cs index 518d68badc7..7e309f8079f 100644 --- a/src/Microsoft.Graph/Generated/Me/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Drive/DriveRequestBuilder.cs @@ -46,7 +46,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. diff --git a/src/Microsoft.Graph/Generated/Me/Drives/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drives/Count/CountRequestBuilder.cs index 84bce1cfb86..09cda9db2e3 100644 --- a/src/Microsoft.Graph/Generated/Me/Drives/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Drives/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Drives/DrivesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drives/DrivesRequestBuilder.cs index cdef7d74863..030e476ce66 100644 --- a/src/Microsoft.Graph/Generated/Me/Drives/DrivesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Drives/DrivesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of Drive resources available for a target User, Group, or Site. diff --git a/src/Microsoft.Graph/Generated/Me/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Drives/Item/DriveItemRequestBuilder.cs index e68a89301bf..9ff21d4ac88 100644 --- a/src/Microsoft.Graph/Generated/Me/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Drives/Item/DriveItemRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of drives available for this user. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index 86df79edf93..d25047e4acc 100644 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get employeeExperience from me @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property employeeExperience in me @@ -90,7 +90,7 @@ public async Task PatchAsync(EmployeeExperienceUser body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property employeeExperience for me diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs index f9dd43feb47..831c2a0425a 100644 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs index bcbfc721285..6ace23398f2 100644 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. diff --git a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs index 548f31e19e9..c83058f24a7 100644 --- a/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Count/CountRequestBuilder.cs index b381dfc2f43..4bd646e3608 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaRequestBuilder.cs index ce1b8fff61c..37d30579d41 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs index 596df7f44ed..e828908349d 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/EventsRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. - /// Find more info here + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs index 74dd42d9305..1eb80fda3cb 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptRequestBuilder.cs index 46ff525df1c..679d75628be 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 6f5fff05de8..8d9e4ea8708 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Count/CountRequestBuilder.cs index 249e1e826df..4afe62a26ba 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 03fb9fe7720..a6907b056f0 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 50e7123376f..33a9cddc585 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index bb0cbed7208..c5126472067 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Calendar/CalendarRequestBuilder.cs index 3030dba635e..c197a1a41d8 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelPostRequestBody.cs index 9a219172366..a97d118d753 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelRequestBuilder.cs index 44acca3fba9..7d002e1b5d0 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs index 9065d79818a..6dcd9be0746 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclineRequestBuilder.cs index 6b70d738c26..ae5e7aebe16 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 9688ef8a8aa..73b3a104b7d 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/EventItemRequestBuilder.cs index d77d7e3bb42..7e46ec4a639 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/EventItemRequestBuilder.cs @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. @@ -121,7 +121,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the event object. @@ -143,7 +143,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Count/CountRequestBuilder.cs index ce535932c07..24c83ed330f 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 5e4862f561a..4fb01edaaf5 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index f1298f552a0..0e40415e2a0 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardPostRequestBody.cs index 2806a67d013..72578dcf946 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardRequestBuilder.cs index 79178baa843..76f2bcc5f16 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Count/CountRequestBuilder.cs index 2d4f1859ba5..0a7a8783328 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 18159823439..e5b573ae67b 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/InstancesRequestBuilder.cs index fc1220d76c3..5249c6a3cdc 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 6b40b4f884d..c31f6a69c74 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 49d2a074291..7017e7ff806 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 66e85a88094..5783fca269f 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 548b3f8bd2e..63855cb482c 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 00d04577ed9..3b17a25b583 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index efd6b7d5c3e..90cfff10ede 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 86a987e53d1..6efce5b7865 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index fe1d2b2e2fe..7be50b2d131 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 89ee83b08c8..f32cd3eb6b9 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index f6b2e4c73f3..48153ca2d63 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index befca689622..b1e21b38f89 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index edc30285f25..4b5773ed2f3 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index dbb7af84e22..57dbaf5c2be 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/EventItemRequestBuilder.cs index 349af6cf9bd..fe8462ec852 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 4589e4d30b0..c9392f56efe 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 8bc44ffcad3..de490d7454b 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a6df7a5d1e5..13ca0666d07 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 3d65eff2cfc..efe63c5b703 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 8fff99041e2..61c01df5f1b 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 9e029ff37cf..aab8dbb72b6 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index a580ff02339..60739e1c43c 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 90b01cb7a58..2e44ddf826c 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 53ad38fbba0..86211dfdac7 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index f3a3cc26247..3905fe313dd 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 42f948aa80d..ff723ee8dd6 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index a0d07e386ca..db284c3aff0 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index ff96a8384f0..9f081316d0f 100644 --- a/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs index e2e6592e38f..f3a681d9c53 100644 --- a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function exportDeviceAndAppManagementData diff --git a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs index 1bb1d8c99e5..f06c02b8547 100644 --- a/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function exportDeviceAndAppManagementData diff --git a/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataRequestBuilder.cs index f51153c2776..bcd15ed4d89 100644 --- a/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ExportPersonalData/ExportPersonalDataRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ExportPersonalDataPostRequestBody body, Action /// Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. diff --git a/src/Microsoft.Graph/Generated/Me/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Extensions/Count/CountRequestBuilder.cs index 27594367309..43f94416760 100644 --- a/src/Microsoft.Graph/Generated/Me/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Extensions/ExtensionsRequestBuilder.cs index 18f24b840b2..0931d7d5e5b 100644 --- a/src/Microsoft.Graph/Generated/Me/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for me @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Extensions/Item/ExtensionItemRequestBuilder.cs index f604265e8df..a015e35308c 100644 --- a/src/Microsoft.Graph/Generated/Me/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs index 28ebe723631..cc5334bd65f 100644 --- a/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(FindMeetingTimesPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingTimeSuggestionsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingTimeSuggestionsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Count/CountRequestBuilder.cs index 6adec334bbd..b19eee97871 100644 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/FollowedSites/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/FollowedSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/FollowedSitesRequestBuilder.cs index b76094de465..77f813e9288 100644 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/FollowedSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/FollowedSites/FollowedSitesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the sites that have been followed by the signed in user. diff --git a/src/Microsoft.Graph/Generated/Me/FollowedSites/Item/SiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/FollowedSites/Item/SiteItemRequestBuilder.cs index 332fc74d769..9041d68971a 100644 --- a/src/Microsoft.Graph/Generated/Me/FollowedSites/Item/SiteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/FollowedSites/Item/SiteItemRequestBuilder.cs @@ -45,7 +45,7 @@ public SiteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get followedSites from me diff --git a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostRequestBody.cs index 8a74e99b529..570a8952871 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsPostRequestBody.cs @@ -19,20 +19,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? EmailAddresses { - get { return BackingStore?.Get?>("EmailAddresses"); } - set { BackingStore?.Set("EmailAddresses", value); } + get { return BackingStore?.Get?>("emailAddresses"); } + set { BackingStore?.Set("emailAddresses", value); } } #nullable restore #else public List EmailAddresses { - get { return BackingStore?.Get>("EmailAddresses"); } - set { BackingStore?.Set("EmailAddresses", value); } + get { return BackingStore?.Get>("emailAddresses"); } + set { BackingStore?.Set("emailAddresses", value); } } #endif /// The MailTipsOptions property public MailTipsType? MailTipsOptions { - get { return BackingStore?.Get("MailTipsOptions"); } - set { BackingStore?.Set("MailTipsOptions", value); } + get { return BackingStore?.Get("mailTipsOptions"); } + set { BackingStore?.Set("mailTipsOptions", value); } } /// /// Instantiates a new getMailTipsPostRequestBody and sets the default values. @@ -54,8 +54,8 @@ public static GetMailTipsPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"EmailAddresses", n => { EmailAddresses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"MailTipsOptions", n => { MailTipsOptions = n.GetEnumValue(); } }, + {"emailAddresses", n => { EmailAddresses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"mailTipsOptions", n => { MailTipsOptions = n.GetEnumValue(); } }, }; } /// @@ -64,8 +64,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("EmailAddresses", EmailAddresses); - writer.WriteEnumValue("MailTipsOptions", MailTipsOptions); + writer.WriteCollectionOfPrimitiveValues("emailAddresses", EmailAddresses); + writer.WriteEnumValue("mailTipsOptions", MailTipsOptions); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsRequestBuilder.cs index 771d7710040..72947477030 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMailTips/GetMailTipsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMailTipsPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMailTipsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMailTipsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs index 777382f9a7f..682ed618a54 100644 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetManagedAppDiagnosticStatusesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetManagedAppDiagnosticStatusesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets diagnostics validation status for a given user. diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs index b1874141c3f..641c194d456 100644 --- a/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetManagedAppPoliciesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetManagedAppPoliciesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets app restrictions for a given user. diff --git a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs index 680052486e1..41cb5d41cf1 100644 --- a/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetManagedDevicesWithAppFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetManagedDevicesWithAppFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieves the list of devices with failed apps diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 577f445be11..a3d18ebc464 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 580804f9282..3aa8691ca1c 100644 --- a/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/InferenceClassificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/InferenceClassificationRequestBuilder.cs index b1cb2c1151e..27b210d461b 100644 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/InferenceClassificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InferenceClassification/InferenceClassificationRequestBuilder.cs @@ -34,7 +34,7 @@ public InferenceClassificationRequestBuilder(Dictionary pathPara public InferenceClassificationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/inferenceClassification{?%24select}", rawUrl) { } /// - /// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -50,7 +50,7 @@ public InferenceClassificationRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property inferenceClassification in me @@ -71,10 +71,10 @@ public InferenceClassificationRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -135,7 +135,7 @@ public InferenceClassificationRequestBuilder WithUrl(string rawUrl) { return new InferenceClassificationRequestBuilder(rawUrl, RequestAdapter); } /// - /// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. /// public class InferenceClassificationRequestBuilderGetQueryParameters { /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Count/CountRequestBuilder.cs index a8c252cd161..140a8ff32d6 100644 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs index 399118146b0..73249f5c755 100644 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. @@ -87,7 +87,7 @@ public async Task PatchAsync(InferenceClassific {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an override specified by its ID. diff --git a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs index 87befaa0eb9..633e001e05d 100644 --- a/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/InferenceClassification/Overrides/OverridesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverrideCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverrideCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note @@ -81,7 +81,7 @@ public async Task PostAsync(InferenceClassifica {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. diff --git a/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs index 7879055ebe5..e9f1973730d 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/InsightsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get insights from me @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property insights in me @@ -100,7 +100,7 @@ public async Task PatchAsync(OfficeGraphInsights body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property insights for me diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs index 74cb4205540..821b71bc194 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs index 98436db259b..4c9826a0221 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get lastSharedMethod from me diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs index 785018768fc..65c808ecfc2 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs index a192ab8b467..96a9c2889aa 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property shared in me @@ -95,7 +95,7 @@ public async Task PatchAsync(SharedInsight body, Action(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property shared for me diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs index 645bce35304..15d2d32583f 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Shared/SharedRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to shared for me @@ -80,7 +80,7 @@ public async Task PostAsync(SharedInsight body, Action(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Count/CountRequestBuilder.cs index 7b33a8fcd3a..c53bbf0c878 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs index 3b7da61e5c5..1f4c402fed1 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used for navigating to the trending document. diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/TrendingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/TrendingItemRequestBuilder.cs index 93bf83ab504..53c70cfdfa4 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/TrendingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Trending/Item/TrendingItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property trending in me @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property trending for me diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Trending/TrendingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Trending/TrendingRequestBuilder.cs index ed7c540df85..5f248967c02 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Trending/TrendingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Trending/TrendingRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TrendingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TrendingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to trending for me @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Calculated insight that includes a list of documents trending around the user. diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs index 2029f9c582f..14955842bde 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs index f806f8b141e..6906901476b 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/Resource/ResourceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs index 6aedb5d6623..d5362bebd95 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/Item/UsedInsightItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property used in me @@ -90,7 +90,7 @@ public async Task PatchAsync(UsedInsight body, Action(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property used for me diff --git a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs index 6e71e6dd370..3c6b7d72f81 100644 --- a/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Insights/Used/UsedRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UsedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to used for me @@ -80,7 +80,7 @@ public async Task PostAsync(UsedInsight body, Action(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Count/CountRequestBuilder.cs index 2fafa9627f3..7cc7e06f18a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs index d27e252d477..91d44367c62 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs index 3a32d63f1a5..0a4db8dd184 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of channels either in this team or shared with this team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs index 7a3fa6c8a75..f2b4357a4bc 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs index 7d55b659d73..7e8f04843f8 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of channels either hosted in or shared with the team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs index 4a2880c1ad4..ae83a0bf8e2 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ArchivePostRequestBody body, Action /// Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs index 52db5c9a0c0..eb79ef2b503 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. @@ -86,7 +86,7 @@ public async Task PostAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of channels in this team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs index 54675e0bb3f..db095022022 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs index 70c212e7779..6f193881abb 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 7f953c4a83c..8fbed3e8dd6 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. @@ -111,7 +111,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified channel. @@ -133,7 +133,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the channel. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 657f8773e5a..c402dd6b268 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index de3d6b5f404..af8d061799d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs index 873db80d0c8..938b69a233c 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs index c3e48a71a3c..4fa6351901b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs index 1d07e9553af..0dbafe43ba1 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs index 0ea93fc8803..c36ddedd1f0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 35577786b8c..605180c964c 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs index bcf532269e7..ba6bbc3f851 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs index 3003189a59b..e5444e54a64 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs index 2c7496987f0..801e0d16973 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index e11bc6d093f..7eb920cca19 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index def5e62834c..5aba3e3726d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 4ad786421bb..9a5e6f5db5e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for me @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 46c3f6d2244..60fae0a0762 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in me @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 1e879d225d8..8da3e3fd602 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index 3c2d0f7c4d5..59cc935c6f9 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index ad555e06d20..b845bd8dfb9 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index e8959c7f3d7..c5dc6742293 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in me @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 0b2bc413cac..345934c765b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index c4b5e900b05..0a8f0502465 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for me @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 204ed5d1f30..90dd997ea10 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in me @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index f5c67ed7780..3fadfb02d5e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 94c6a08769c..fd06be83cf8 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 5273c535c42..b65e010233b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 3d9b4c72119..399a9529283 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index f20f2bf528b..8bbd124a479 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 2720e2bf403..787fb323da0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index f76c14c18b5..62e872e3a01 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index bafcdbd21b4..7916498b095 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index c71aabff218..59316088ff1 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index a1ee26ae369..70c08433bbe 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 4c08700e962..e74708b2229 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 9a93d205477..27cd4893701 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs index 200602dcf3d..81be4386692 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs index 7e6417fa461..1a2ff95c4c5 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 25608f11b3f..a4badd15b89 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 92d73484ae8..2b925938d13 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index c2f6f1d7419..9f73812c7e8 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 42f96090c65..69bb214ad19 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in me @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index 606c1389327..2fe2b82cbb0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 5b5d17ca70f..16b7c0fe1c0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for me @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs index 9eb59d19bd5..260cd507848 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 7fe450b3716..b256b294886 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index c976fe83bd2..1e80d686b2b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs index 969419415bc..5ee39c4c2e6 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/CloneRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/CloneRequestBuilder.cs index edf11badcd8..f0534812404 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/CloneRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Clone/CloneRequestBuilder.cs @@ -28,7 +28,7 @@ public CloneRequestBuilder(Dictionary pathParameters, IRequestAd public CloneRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/clone", rawUrl) { } /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// Find more info here /// /// The request body @@ -47,10 +47,10 @@ public async Task PostAsync(ClonePostRequestBody body, Action - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 2e0df57bb16..b425fc0864b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/GroupRequestBuilder.cs index d86ad43450d..8b36743edd3 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Group/GroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get group from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs index b577890eb3c..6e7f2119a87 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs index 51177ccc760..4eb4ae79ac0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of incoming channels (channels shared with a team). diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs index b293b3d7f73..df7de95a6c0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// List of channels shared with the team. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an incoming channel (a channel shared with a team) from a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs index 6bc48bb1c19..0b88cfd94b0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs index 523d9679f6d..0de11059a4d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install an app to the specified team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsAppInstallation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of apps installed in the specified team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index fea2c4238e4..9a2b4a44566 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index a9f5ef3f50b..7167ecdd102 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index c4c370c263b..a163b3cdd23 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the app installed in the specified team. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in me @@ -102,7 +102,7 @@ public async Task PatchAsync(TeamsAppInstallation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstalls an app from the specified team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index 3dc08c47192..13948a0125e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpgradePostRequestBody body, Action /// Upgrade an app installation within a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs index ef3f23d912f..b6fba9968d3 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs index 2a80dcd1957..83ae630c0af 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index d5ed3e298ee..3c19dc6b777 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a team. @@ -88,7 +88,7 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a conversationMember from a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs index f91cf531637..3b9c93125ef 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a new conversationMember to a team. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the conversationMember collection of a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs index ac4de4a7d70..4c803d7f523 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs index 424e2e8cd05..f0f8310f9cc 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The async operations that ran or are running on this team. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in me @@ -85,7 +85,7 @@ public async Task PatchAsync(TeamsAsyncOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs index 4ff03e9c28a..d2d6637402e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for me @@ -79,7 +79,7 @@ public async Task PostAsync(TeamsAsyncOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The async operations that ran or are running on this team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs index 462c885892b..3e010fe0c9d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs index 0cfd981bfe1..6f428411bed 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 4ccb29f741b..5c0628700ab 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index 5c292d5ec0e..9a05ab1f655 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index f0c29ff2e33..0056ebf925f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 8a342abe331..760e55966c1 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 270e5652123..6384f2d9ec7 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 7537b3acaea..5df4ef8c3a3 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 953a555b9e8..d0734166804 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A collection of permissions granted to apps to access the team. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in me @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index a9fb96580c0..9d30df88f05 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 295e357456c..2e09d787978 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for me @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the team. This list specifies the Azure AD apps that have access to the team, along with each app's corresponding type of resource-specific access. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 52422e5a47d..e2e8dd68034 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs index 0e659634374..b87b804091f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in me @@ -72,7 +72,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Azure Active Directory. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs index 8660ca4bb3a..f15fd081caa 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 7d40855a99b..dc79110592c 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index f57f4db213c..4fd10013fb6 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs index 0ef8777de6f..a9664ab7d0c 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs index 6b8d717c5bd..b5ac8dc5835 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs index 83cc18fe73e..d8dcac7d449 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs index d2cdfb914f8..4def5566026 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 1934a4a30fc..b90b0402943 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs index bd85842bcf0..739265ebb65 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs index 7fcbd147fb2..112b673fa00 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs index 681dd89c3f5..36e994607bd 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs index 316f5c0563f..a5c7cd3645b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 85071198be6..e61f66b343f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 88cd7db9196..465657ac6bb 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for me @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index cb222eec88c..514741bfd83 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in me @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index e3837fe9bf9..2272e72debf 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs index b9fa6ad1f14..3c3bc81cb3c 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 0fd4dab9719..789b3bffa11 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 4acfd6ece6e..3b21cdc1e48 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in me @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 90cf4bdf255..42149e4bb8b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 7b73ddebe8d..84a266d42fb 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for me @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 0e054a4a2ee..1444d573cf7 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in me @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 6ebf2af4985..edbc1c3e5bd 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 32e0a191f8d..21a329b084d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 51636f416e4..c7a4f4ed8cf 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 61e712b4927..0b7b020306a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 74d3475d754..02b1f66e07b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 3ff4c2e49bc..3001c6b7f0b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 17859e10e03..0a4ffa88fb2 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 606440840c0..7827206eb93 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 6118f1d8eb0..1e28e570827 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 499973471fc..0a47678ad3a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 90e5ebe8d09..c4b23c7fa56 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 98f0e47e891..f2c465a6f17 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Get the default channel, General, of a team. @@ -110,7 +110,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property primaryChannel in me @@ -131,7 +131,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property primaryChannel for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 580641e7c06..4678661a8da 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs index 618eb31fabd..698b458a637 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs index 8d4b54aeb28..3401c1f8443 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index c51e7a293a4..6357284d5c6 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 4d8a2d5d37b..ab822d5eb88 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index 88247040639..984a2c5f33e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 24b7994f182..a25116ea396 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in me @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index d1a33462c5d..d51d66a4e82 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 7c857197bea..f2b181b5358 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for me @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs index 4dd3f19ed7a..d6706a075bf 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 1c060a5506c..483f9795e12 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs index 5c0488c3999..ef87cad814a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs index 2da31f14fa7..1c943c25fcb 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs index 7984ff9df5e..2c4351ccc58 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs index 5d941aac6ed..85b3437588f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an offerShiftRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property offerShiftRequests in me @@ -86,7 +86,7 @@ public async Task PatchAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property offerShiftRequests for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs index 038cd22a76b..4dc78b42a53 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an offerShiftRequest. @@ -81,7 +81,7 @@ public async Task PostAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of all offerShiftRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs index ee14045fd97..33e73163cc4 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs index 8b74a7ac288..c1a5b48ef3b 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openShiftChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property openShiftChangeRequests in me @@ -86,7 +86,7 @@ public async Task PatchAsync(OpenShiftChangeRequest body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property openShiftChangeRequests for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs index da0f343f58d..f960cb2dcdc 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create instance of an openShiftChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShiftChangeRequest body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of openShiftChangeRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs index e52af876d63..6469cb00c49 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs index 5af6e67f9d5..88dae4e2093 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openshift object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an openShift object. @@ -88,7 +88,7 @@ public async Task PatchAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an openShift object. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs index 8ba661fc57b..aa9781701df 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an openShift object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List openShift objects in a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs index 7b77e420656..0555d57c29f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schedule in me @@ -136,7 +136,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schedule for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs index ff26facc8b4..11ef5df5d51 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs index 559e94d882c..61da4f7b222 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedulingGroup by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs index f5e1bcd940f..985163bcd0f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new schedulingGroup. @@ -81,7 +81,7 @@ public async Task PostAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of schedulingGroups in this schedule. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs index 3bfb2e58175..e99ec3dc51d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SharePostRequestBody body, Action /// Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs index cc80356a5ce..5c792489836 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs index e35c8a5c848..4e0cf1c8e0f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a shift object by ID. @@ -66,10 +66,10 @@ public async Task GetAsync(Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// Find more info here /// /// The request body @@ -88,7 +88,7 @@ public async Task PatchAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a shift from the schedule. @@ -141,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs index 302cea993a2..086b1063fa8 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. @@ -81,7 +81,7 @@ public async Task PostAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of shift instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs index f2139a98f5f..d77ec970912 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs index 9fecf1bee7b..58fa8cce787 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a swapShiftsChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property swapShiftsChangeRequests in me @@ -86,7 +86,7 @@ public async Task PatchAsync(SwapShiftsChangeRequest bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property swapShiftsChangeRequests for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs index 16ed133a179..6fa2671dd7d 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of a swapShiftsChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(SwapShiftsChangeRequest bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of swapShiftsChangeRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs index 684ae855e2d..a39b1ec9f8e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs index f227da33a94..82cb0567e5e 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOffReason object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs index 5c37d3edff7..dd53739380a 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOffReason. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOffReasons in a schedule. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs index 40387087ef5..dcb4f8b9a0c 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs index 3acb36938b9..1cc4e324b45 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeoffrequest object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property timeOffRequests in me @@ -87,7 +87,7 @@ public async Task PatchAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOffRequest object. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs index 25322ed9f7d..7824f46a8a5 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to timeOffRequests for me @@ -80,7 +80,7 @@ public async Task PostAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of timeOffRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs index c81c017b154..7d70da0fbed 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs index 558c7c37f4f..faf30f371a0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOff object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOff instance from a schedule. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs index 4f8df00ba46..c244130ec31 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOff instance in a schedule. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOff instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 17cb24b316c..988b8be24a3 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs index d1c89d5f853..bf6149a1f42 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs index a9f04620ce1..2566a64ba31 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs index 2f644be24b2..e23242b3bc3 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a member of a standard tag in a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in me @@ -87,7 +87,7 @@ public async Task PatchAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a member from a standard tag in a team. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs index be6869fe977..f01fb034c57 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new teamworkTagMember object in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the members of a standard tag in a team and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs index 7103364a9d0..f43315048d6 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a tag object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a tag object. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a tag object permanently. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/TagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/TagsRequestBuilder.cs index 2e5910bbfb6..10f44cf1221 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/TagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Tags/TagsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a standard tag for members in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the tag objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/TeamItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/TeamItemRequestBuilder.cs index 02c675b3aba..1c91af7734f 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/TeamItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/TeamItemRequestBuilder.cs @@ -135,7 +135,7 @@ public async Task DeleteAsync(Action /// Get joinedTeams from me @@ -154,7 +154,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property joinedTeams in me @@ -175,7 +175,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property joinedTeams for me diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Template/TemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Template/TemplateRequestBuilder.cs index fa5e2240f1a..78c1a5099c5 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Template/TemplateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Template/TemplateRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The template this team was created from. See available templates. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs index aad5fc839ef..8acbacc87c0 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. diff --git a/src/Microsoft.Graph/Generated/Me/JoinedTeams/JoinedTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/JoinedTeams/JoinedTeamsRequestBuilder.cs index 3dbbaa2d679..7a45e1fcfb7 100644 --- a/src/Microsoft.Graph/Generated/Me/JoinedTeams/JoinedTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/JoinedTeams/JoinedTeamsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to joinedTeams for me @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the teams in Microsoft Teams that the user is a direct member of. diff --git a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/LicenseDetails/Count/CountRequestBuilder.cs index b103bdf478c..530a098e235 100644 --- a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/LicenseDetails/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs index f2c05eab1a4..31ea9068a46 100644 --- a/src/Microsoft.Graph/Generated/Me/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of this user's license details. Read-only. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property licenseDetails in me @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property licenseDetails for me diff --git a/src/Microsoft.Graph/Generated/Me/LicenseDetails/LicenseDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/LicenseDetails/LicenseDetailsRequestBuilder.cs index 18e89672a5b..7bf5d3c1e61 100644 --- a/src/Microsoft.Graph/Generated/Me/LicenseDetails/LicenseDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/LicenseDetails/LicenseDetailsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LicenseDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LicenseDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to licenseDetails for me @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Count/CountRequestBuilder.cs index e7a3595fa29..b4d93fcd5f8 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs index 409ebbf1cd9..7925190df56 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index e367e235fee..4d4d4feee80 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new mailSearchFolder in the specified user's mailbox. @@ -86,7 +86,7 @@ public async Task PostAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of child folders in the mailFolder. @@ -179,9 +179,11 @@ public class ChildFoldersRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs index 261e6878717..fe9cf7673a5 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs index 2207844450c..5293c8581ce 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs index d1ffd88c208..f692afdaf7a 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs index 21feb43b946..c291c563aeb 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyPostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index 90510c32ef0..b7acd290d55 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// The collection of child folders in the mailFolder. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property childFolders in me @@ -105,7 +105,7 @@ public async Task PatchAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property childFolders for me @@ -225,9 +225,11 @@ public class MailFolderItemRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs index fccaceb020c..79c329cffa5 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs index c5164e0fbe7..1512b3427e2 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a messageRule object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Change writable properties on a messageRule object and save the changes. @@ -88,7 +88,7 @@ public async Task PatchAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified messageRule object. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs index 5ec49767178..230aa2e3c71 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. @@ -81,7 +81,7 @@ public async Task PostAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messageRule objects defined for the user's inbox. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs index 2a6aa33a855..e1a31d7b251 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index 109d0ba3612..8abefc85f80 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index ddd3ca86033..0e2d97a07bf 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. @@ -86,10 +86,10 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs index 1bce5d3ad2b..bad2699faa9 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 6fdc1f837f0..816d00c9833 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 959ceb34bc8..a5ac45ea3f0 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 0edf8c9ec9c..f1aeebdd273 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for me diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs index 706b45db7ff..b75280864ac 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs index 4b69613a028..7cf2357cd02 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a message to a folder within the user's mailbox. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs index 0f5e3e541ac..30878eafa9e 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNo /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index 9bef778f045..a3a42961a5d 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs index d73f1fbc911..e272e7b21f6 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs index 6584a55b59c..58e7050a308 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs index 9a83b859c26..032387a7fbb 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs index 2fe524430df..69d4858ff80 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs index 2257b4e351b..51eabb28c7d 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs index beeda63ede3..04f3b215128 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index f1a328995db..8d1f61f10a4 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs index 0f4009e6dfe..8601e4bf82d 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs index ab06073ef28..54b61657992 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index 9f13a73add6..ca2e4af6fa5 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// The collection of messages in the mailFolder. @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in me @@ -145,7 +145,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for me diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs index c7c46f2d13f..aa6bfb54583 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs index d55d30f31f6..4f119e84beb 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs index 3247207361c..3928a8fa47f 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs index 7dd3845e71f..25a5566a6b7 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs index b53367e8a33..d893684f96a 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs index 5d9b212c432..b8d5e7cf533 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyAllPostRequestBody body, Action /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs index a7dfdfb6850..410d2b073e2 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs index 25fe2d27a43..80cbfadfa6c 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property messages in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property messages from me diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs index ddfd9cae7c7..84610caf17b 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new Message in a mailfolder. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs index 3fa0246aa32..3c7541c04bd 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs index a1fdfbdcf44..1fc3d41b46a 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(MovePostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyPostRequestBody.cs index 58e39e9421f..a19d14f9dc0 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyRequestBuilder.cs index 0f2829b3c91..d1df3a949eb 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyPostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs index b7151fd45e8..2e5a00546a1 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// The user's mail folders. Read-only. Nullable. @@ -91,11 +91,11 @@ public async Task GetAsync(Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the writable properties of a mailSearchFolder object. - /// Find more info here + /// Update the properties of mailfolder object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public async Task PatchAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. @@ -166,7 +166,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the writable properties of a mailSearchFolder object. + /// Update the properties of mailfolder object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -233,9 +233,11 @@ public class MailFolderItemRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs index df15cc737ca..d28e8d9a46b 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs index e93782aa684..38d70524952 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a messageRule object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Change writable properties on a messageRule object and save the changes. @@ -88,7 +88,7 @@ public async Task PatchAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified messageRule object. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs index 00aade6abda..bd5e9b69536 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. @@ -81,7 +81,7 @@ public async Task PostAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messageRule objects defined for the user's inbox. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Count/CountRequestBuilder.cs index 6dc1f874dbf..498da5dbed0 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index 7533ac19895..4d8820742c1 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 4b8bf37769d..94eafe93e85 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. @@ -86,10 +86,10 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs index 35f5c151a79..eccb863a024 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 27b3c011028..ec5cda8b08b 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 5eeaf3658b6..4bad492d4be 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 8cd634f4424..370712bafe1 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for me diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs index 0b316d3b7fb..7f57bbec2c4 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs index 5a9cc12bcd4..9daf3001d8f 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a message to a folder within the user's mailbox. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs index 5a82ba136a4..4d32370d61b 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNo /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index dc5bc9af7a7..6ad00a2e425 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs index 08caf2cce2f..9fe789a3762 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs index 2b881c57706..a5a8b77aed5 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs index d36a5da8ac2..09f08da44d8 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs index b2ebb57a7e1..2c100daae4e 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs index 91749ce08ae..8fc2c57a3ea 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs index 4dab0ca60e7..02df948b17e 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 6d1287fa720..984628ad431 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs index 8cca92f4c70..3e1f74f54eb 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs index 0b8b6ee4030..16e8c0c802f 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index fc9069e02ce..929749f2177 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// The collection of messages in the mailFolder. @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in me @@ -145,7 +145,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for me diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs index 8ecdd550759..9cdce67f9e4 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs index 1389cebe2ca..2cca1ec5600 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs index 7e75e17073d..e6706d549da 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs index 3dae1f5b8e1..355390d7701 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs index f12fbacf3b6..c24039ec65a 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs index c743627fe72..af260650a45 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyAllPostRequestBody body, Action /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs index 4a8d2775250..97d30576296 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs index 0a209ae9984..58eb4965c56 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property messages in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property messages from me diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/MessagesRequestBuilder.cs index 5ed7bde349f..1f6832becd1 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Messages/MessagesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new Message in a mailfolder. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MovePostRequestBody.cs index 2c41eafcf40..8b9695282bb 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MoveRequestBuilder.cs index 589c8d05172..6c6cabf4c6b 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(MovePostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs index f4c950b436a..904e42aebda 100644 --- a/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailFolders/MailFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. @@ -86,7 +86,7 @@ public async Task PostAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user's mail folders. Read-only. Nullable. @@ -179,9 +179,11 @@ public class MailFoldersRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Me/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MailboxSettings/MailboxSettingsRequestBuilder.cs index f655dce3c76..7db4bb60238 100644 --- a/src/Microsoft.Graph/Generated/Me/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Count/CountRequestBuilder.cs index 4fbb43b3e39..60c3b2506d6 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index 8226a7aa3e3..c1eafed1726 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Zero or more managed app registrations that belong to the user. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index 0e4cbb30b6c..6cb73bc07b5 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Zero or more managed app registrations that belong to the user. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Count/CountRequestBuilder.cs index 9976f40999a..8bb0cf7996f 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs index 147a7e6346a..fa95840cf70 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Bypass activation lock diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs index 9c873c6b700..17c916c330b 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CleanWindowsDevicePostRequestBody body, Action /// Clean Windows device diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs index fe455846f63..a2a3052050d 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeleteUserFromSharedAppleDevicePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete user from shared Apple device diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs index a5c066fc9a0..6c5654fd3f2 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceCategory object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceCategory object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceCategory for me diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs index dcc1daf49e3..a7bca6d7284 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs index aad54680be1..a6d805bdd56 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceCompliancePolicyStates for me @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceCompliancePolicyS {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Device compliance policy states for this device. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs index 1c6631c398b..482f167cd6b 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Device compliance policy states for this device. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceCompliancePolicyStates in me @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceCompliancePolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceCompliancePolicyStates for me diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs index fcbed8cdeaf..5054b27769b 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs index ebb907de306..4fb44072c93 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceConfigurationStates for me @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceConfigurationState b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Device configuration states for this device. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs index 8a39e591927..1b6a21ee656 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Device configuration states for this device. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceConfigurationStates in me @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceConfigurationState {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceConfigurationStates for me diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs index 30f4290be57..6b0001709ab 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Disable lost mode diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs index 296813735b3..d3da344a21d 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Locate a device diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs index cb671aac890..cd99f38370a 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs index 6991c1e2c71..6e731932ec7 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action(requestInfo, CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action createDownloadUrl diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs index 06702b4cb44..8a46bb2e364 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// List of log collection requests @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property logCollectionRequests in me @@ -90,7 +90,7 @@ public async Task PatchAsync(DeviceLogCollectionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property logCollectionRequests for me diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs index b67eb5be7e3..d9d8372d74f 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to logCollectionRequests for me @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceLogCollectionResp {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of log collection requests diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs index 46882dcef21..240f176dcff 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Logout shared Apple device active user diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index f6f2f8ec5d8..e79f718ade4 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -165,7 +165,7 @@ public async Task DeleteAsync(Action /// The managed devices associated with the user. @@ -184,7 +184,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property managedDevices in me @@ -205,7 +205,7 @@ public async Task PatchAsync(ManagedDevice body, Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property managedDevices for me diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs index f96112d9513..44252b272dd 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reboot device diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs index 63248fba7c4..f4739bd704c 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Recover passcode diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs index 4456450cdf6..7c68151ede1 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remote lock diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs index 17d6797f4f3..512c2e5c0bc 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Request remote assistance diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs index ea7b86e56b9..487e8902cf8 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reset passcode diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Retire/RetireRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Retire/RetireRequestBuilder.cs index 48692ce1a4b..fab1a4ae218 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Retire/RetireRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Retire/RetireRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retire a device diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs index 157b9dc2d9a..a44baf6224a 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Shut down device diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs index 5c3cd04fd43..c2bd4d6c0d8 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs index 4b78247d748..68a2d671522 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpdateWindowsDeviceAccountPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Users/UsersRequestBuilder.cs index 3acbc3c012c..b1f7695e98c 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Users/UsersRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the user objects. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs index a76787ba1d2..131314df9e3 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WindowsDefenderScanPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs index 6fa64b626a1..fec8bb4eacf 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs index 82acdc24982..34fc8d6ec47 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs index 8aa19db6dff..6c97ae294af 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsDeviceMalwareState object. @@ -81,7 +81,7 @@ public async Task PostAsync(WindowsDeviceMalwareState {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsDeviceMalwareState objects. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs index 92c6d786291..e3c33c54c04 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsDeviceMalwareState object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsDeviceMalwareState object. @@ -88,7 +88,7 @@ public async Task PatchAsync(WindowsDeviceMalwareStat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsDeviceMalwareState. diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs index 81b4d325930..27f1779dfbd 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsProtectionState object. @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsProtectionState object. @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property windowsProtectionState for me diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs index 175c53051e3..3de7173c08e 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WipePostRequestBody body, Action /// Wipe a device diff --git a/src/Microsoft.Graph/Generated/Me/ManagedDevices/ManagedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ManagedDevices/ManagedDevicesRequestBuilder.cs index 8d5de2428ae..ef7ace37726 100644 --- a/src/Microsoft.Graph/Generated/Me/ManagedDevices/ManagedDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ManagedDevices/ManagedDevicesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to managedDevices for me @@ -79,7 +79,7 @@ public async Task PostAsync(ManagedDevice body, Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The managed devices associated with the user. diff --git a/src/Microsoft.Graph/Generated/Me/Manager/ManagerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Manager/ManagerRequestBuilder.cs index 1380f81f069..830432790ed 100644 --- a/src/Microsoft.Graph/Generated/Me/Manager/ManagerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Manager/ManagerRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a user's manager. diff --git a/src/Microsoft.Graph/Generated/Me/Manager/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Manager/Ref/RefRequestBuilder.cs index 9221b4897dd..0d53b3f2742 100644 --- a/src/Microsoft.Graph/Generated/Me/Manager/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Manager/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign a user's manager. @@ -88,7 +88,7 @@ public async Task PutAsync(ReferenceUpdate body, Action /// Remove a user's manager. diff --git a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs index 076df7845c8..d468a7e6165 100644 --- a/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MeRequestBuilder.cs @@ -386,8 +386,8 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic return new ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder(PathParameters, RequestAdapter, skip, top); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. - /// Find more info here + /// Retrieve the properties and relationships of user object. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -403,7 +403,7 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. @@ -425,7 +425,7 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the reminderView method. @@ -438,7 +438,7 @@ public ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder ReminderViewWi return new ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder(PathParameters, RequestAdapter, endDateTime, startDateTime); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Retrieve the properties and relationships of user object. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -499,7 +499,7 @@ public MeRequestBuilder WithUrl(string rawUrl) { return new MeRequestBuilder(rawUrl, RequestAdapter); } /// - /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. + /// Retrieve the properties and relationships of user object. /// public class MeRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Count/CountRequestBuilder.cs index fb98e45aec4..fbc2e613130 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 8d8ccdd91b2..5d7f39dc4ed 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 5de1c8af14e..eadec673a22 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs index 3bb39bbae3e..ade2c7fd369 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index ff16eeea3d5..062a616e9c7 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index 1fc11131277..98673a49101 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index a3616f9d6ac..b3436a4e7a1 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 4c201bb168a..c6823febbe2 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 0faeb8e3a27..88d207dcc8e 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 2b5e23f7256..0eea39ec7d6 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 7f6c414cc4d..2b3cfd13270 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Me/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/MemberOf/MemberOfRequestBuilder.cs index 5d30796f20e..38d386af0cd 100644 --- a/src/Microsoft.Graph/Generated/Me/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/MemberOf/MemberOfRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Count/CountRequestBuilder.cs index 078e3e1ffaf..bd06eb6cece 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs index f426421bf34..cd177339de9 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index fb1f2811ce0..c522e26ab31 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/me/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. @@ -86,10 +86,10 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Count/CountRequestBuilder.cs index bcb1a4927eb..472f03cc862 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index d45a4b7dbda..59fda5ecac4 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 453352b68e3..3e1b89663af 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index e1582b71a8a..76a64eee9f9 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for me diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyPostRequestBody.cs index 25685527505..4f02f1bc51d 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyRequestBuilder.cs index 9a3d0548b11..2ec5db1a82c 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a message to a folder within the user's mailbox. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs index f58dc320d48..918ab6edc99 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNo /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index af3851d43bf..38b75fc8557 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs index e23e2400924..f0fe8f886f0 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs index 2e9bff409af..9be1972569f 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs index 1a155ec6746..774ab3b76f7 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs index f59107358ed..cf12ec1eb92 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Count/CountRequestBuilder.cs index 36442def690..6789d61387a 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/ExtensionsRequestBuilder.cs index 9cce5ddf3b9..68323607d87 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index d89f7aaf748..e5c4564935e 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardPostRequestBody.cs index 9fd2ab435e1..dcf45de2e11 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardRequestBuilder.cs index 48def1d1e01..85520b716ed 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs index 98fe76e8be8..bf30aad08de 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/MessageItemRequestBuilder.cs @@ -106,11 +106,11 @@ public async Task DeleteAsync(Action /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,11 +126,11 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. - /// Find more info here + /// Update the properties of an eventMessage object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -148,7 +148,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a message in the specified user's mailbox, or delete a relationship of the message. @@ -201,7 +201,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. + /// Update the properties of an eventMessage object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,9 +268,11 @@ public class MessageItemRequestBuilderGetQueryParameters { /// Include Hidden Messages #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenMessages")] public string? IncludeHiddenMessages { get; set; } #nullable restore #else + [QueryParameter("includeHiddenMessages")] public string IncludeHiddenMessages { get; set; } #endif /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MovePostRequestBody.cs index 14b9a304e0e..8cf50e18a41 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MoveRequestBuilder.cs index fccd5873306..cc6cbf95ecb 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyPostRequestBody.cs index 82201bf6299..168755fe8fa 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyRequestBuilder.cs index 9d6e2ee31f0..dfea0aa5ad4 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs index fd048f1ea8e..497507b1183 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs index 967db99525e..404fb208df9 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyAllPostRequestBody body, Action /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Send/SendRequestBuilder.cs index 6244d2d6f1f..297897e4e57 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Send/SendRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Send/SendRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs index 893fdfb50cd..702cb5165f5 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property messages in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property messages from me diff --git a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs index c8b323cb062..51ad0a95962 100644 --- a/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Messages/MessagesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The messages in a mailbox or folder. Read-only. Nullable. @@ -179,9 +179,11 @@ public class MessagesRequestBuilderGetQueryParameters { /// Include Hidden Messages #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenMessages")] public string? IncludeHiddenMessages { get; set; } #nullable restore #else + [QueryParameter("includeHiddenMessages")] public string IncludeHiddenMessages { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Count/CountRequestBuilder.cs index cc797ad48f2..73c51f1863b 100644 --- a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs index 7c8ef7b8580..ac1604833a2 100644 --- a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get oauth2PermissionGrants from me diff --git a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs index 67aea1ab2fd..eab2da71b59 100644 --- a/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Count/CountRequestBuilder.cs index 7b1d5363bff..046e6533923 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs index 92d2665e39a..e976f7abe0a 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(GetNotebookFromWebUrlPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs index 72ecae512f6..db4c287b3cf 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getRecentNotebooks diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs index 08155629503..3304d692685 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyNotebookPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs index 76693646d61..7d74d3ff739 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a notebook object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property notebooks in me @@ -101,7 +101,7 @@ public async Task PatchAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property notebooks for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs index ab0d236e7d5..aed3017c241 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 2c94a0cc9e4..85fccfd2d49 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 1f9dbc36bb4..989422b3302 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 69854365020..be792dab12e 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// The section groups in the notebook. Read-only. Nullable. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in me @@ -105,7 +105,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 00fe609093c..217d4cd9fa0 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 0290f720727..3f5703182b5 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 0959d6a32bf..5e900c0d9bd 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 04e6f208bdd..5f590b775a5 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 44913c2c8c9..2df1e5f1299 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 8ccf74b2e57..7026890d544 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index fefd25f7965..bdcdbb0f8a5 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in me @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index a1d2b8a5f2d..9ed09a8e47d 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 96e09f9b7ca..fc6c3f3a5f2 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 0348bab269a..caf66e2844a 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 82ae808f9e0..bdac265ee4c 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in me @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 6370ef15262..49afb108d88 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 8bececd5c1b..c76b569b7c1 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 960e3dee6ca..a3cffc113e1 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 0f39f7e3af8..1bb60731167 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index bb49b7c394d..e897db8f6a6 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index cf54b7e20c0..e0f4dc8e192 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 2fca7440c8d..d68389b7015 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index 6659b7493fd..46da9debba8 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs index e09fa01397d..c50a25ed2cd 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new section group in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs index 4bc72c8d6df..dd06677223e 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index fab18548b64..59a7063ab50 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 214eea60dd4..7f7588b36e5 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 0af7ad3f6b2..6b2d777ba8f 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the notebook. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in me @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index a457b93da38..5c7b97215c0 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index f9a2b086efe..6cf4fce71f2 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 7a0b29c9f83..3ad33c33616 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 2e37c5391ef..35831f0116e 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in me @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index d5020b25ec8..214306c64ad 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 780552008be..f7dfb7078dd 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index c029d0ff65b..6cca6d9286b 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 651b111118c..bf2ad258ba4 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs index d418eb6ea7f..3b51ed3b906 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 3b803e66f96..792093baa2c 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 4534c508742..26caeb95847 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs index a7fc8f1f62f..89e01bb28b7 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/NotebooksRequestBuilder.cs index d8566837d54..264c7135374 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Notebooks/NotebooksRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getRecentNotebooks method. @@ -95,7 +95,7 @@ public async Task PostAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of notebook objects. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/OnenoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/OnenoteRequestBuilder.cs index e36e5833cf0..04aac8d0a22 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/OnenoteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/OnenoteRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Get onenote from me @@ -94,7 +94,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property onenote in me @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property onenote for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Count/CountRequestBuilder.cs index e2059dfc90c..626b30142fc 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs index 3f6ae988460..f82ff42ec5b 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in me @@ -86,7 +86,7 @@ public async Task PatchAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/OperationsRequestBuilder.cs index 6460b38531f..78c113c9084 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for me @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Count/CountRequestBuilder.cs index 2810b78dbbb..b579a6c5b41 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Content/ContentRequestBuilder.cs index 81b818e9e45..761c1c184e2 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 7796b1af193..fcc6de72897 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs index d43d864f464..f4d8f07c08e 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in me @@ -117,7 +117,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a OneNote page. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index f219f14aeec..648ea7820d7 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 57fbd3702ee..4494e2e7857 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index cc323b1c619..b9c01a90bdb 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs index 48f1d64e322..7b2ada4cab5 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/PagesRequestBuilder.cs index 8af2da6c620..d928b55b1cb 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Count/CountRequestBuilder.cs index 708319899e2..2db535352c1 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/Content/ContentRequestBuilder.cs index 3658612bbc5..164e6dd430f 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs index b0ca5395a43..ea4db4e33d9 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in me @@ -90,7 +90,7 @@ public async Task PatchAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/ResourcesRequestBuilder.cs index f9952f544ad..68f01eb0f2d 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Resources/ResourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for me @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Count/CountRequestBuilder.cs index 25f92f124ba..2b72a3c6c64 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index fea178f95ae..3cb3f7964b4 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 63e2519f1c4..cef3cc06e77 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 9934f4f5d25..377b145a0e9 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a sectionGroup object. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in me @@ -106,7 +106,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index b3b3cd72e96..137b4b00eb8 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 449c5f5bf02..31fbb155507 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 0db4ce0c2d2..ac4ac562ab8 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index fc7e2f287d9..b88dc8855ec 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 5a787a862d8..687e2c384b3 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 37568d185f4..7fd9299dba6 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index d98e76a7713..d299cacd497 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in me @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 49db8265e87..4ac8f1206da 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 5a6027053c0..11c54532c9f 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index c2df93c6479..c3464cfb58d 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 193a61e6c6f..5e6d2fee15a 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in me @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 93d63443da3..55f7936f4c8 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 77c0070d76c..60cd15b3420 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index eb7aba4eeba..ddae2047a7b 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index c1756ec7440..b05fce1c3ad 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 8fdec7ab885..a4a1509704f 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index b814daf6960..fdb00a3c78f 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index cf30a647a41..35ee5a050b3 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index 9f1bff2a7d1..54c33dc78bc 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs index 5d53d4c111c..44265302c9b 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sectionGroups for me @@ -80,7 +80,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of sectionGroup objects. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Count/CountRequestBuilder.cs index 9a2bf83a34a..63603580d2c 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 0e1a6eea116..cced944b366 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index cbbc72b3de4..09912c9f55b 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 27e69457d99..7f89feaecac 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a onenoteSection object. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in me @@ -111,7 +111,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs index 0e9a0fb2e05..420422e96dd 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 119bcfd62ad..a7b5a7c465e 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 5dde2e3f1c5..3b27863e9b6 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 62f5797c48b..c5fab7310a3 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in me @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for me diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index d8b9112df31..a7d4f38f817 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index dcec79ec527..023d94eb86c 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index f1fd23a823d..1cfa0e5e9f0 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 836d74f225e..202cab9b0b9 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs index 0f08d7ee0f8..aa8d191c78a 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index a68da2c7817..a93a955a3b3 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 86225862dba..063026151ce 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/SectionsRequestBuilder.cs index 9204f53501e..325e21f0cfc 100644 --- a/src/Microsoft.Graph/Generated/Me/Onenote/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Onenote/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sections for me @@ -80,7 +80,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Count/CountRequestBuilder.cs index 5d72ae41ad2..e9d5777dc58 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs index 0da1fecb958..563c3f65f34 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateOrGetPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs index 7e1bcfc5739..c5d4625c5b8 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MeetingAttendanceReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attendanceReports for me @@ -80,7 +80,7 @@ public async Task PostAsync(MeetingAttendanceReport bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs index f81306cf53c..7a06304ba55 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs index e8fc604ed82..86e04a7280f 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AttendanceRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attendanceRecords for me @@ -80,7 +80,7 @@ public async Task PostAsync(AttendanceRecord body, Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of attendanceRecord objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs index 4dcd15929bb..79e6f73db81 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs index c81cd3880c5..e05ed229fde 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// List of attendance records of an attendance report. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attendanceRecords in me @@ -85,7 +85,7 @@ public async Task PatchAsync(AttendanceRecord body, Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attendanceRecords for me diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs index 652fb67558c..77ca0aef543 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attendanceReports in me @@ -91,7 +91,7 @@ public async Task PatchAsync(MeetingAttendanceReport bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attendanceReports for me diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs index ade3025c73b..0783498279e 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs index 288d5559d85..d7263089e80 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetVirtualAppointmentJoinWebUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetVirtualAppointmentJoinWebUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getVirtualAppointmentJoinWebUrl diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index b18209cf254..d55c857616a 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report is an online meeting artifact. For details, see Online meeting artifacts and permissions. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. @@ -103,7 +103,7 @@ public async Task PatchAsync(OnlineMeeting body, Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an onlineMeeting object. diff --git a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index e2e008fb145..29cff0fc4d3 100644 --- a/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, OnlineMeetingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeetingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an online meeting on behalf of a user. @@ -86,7 +86,7 @@ public async Task PostAsync(OnlineMeeting body, Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report is an online meeting artifact. For details, see Online meeting artifacts and permissions. diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Count/CountRequestBuilder.cs index ec467290e47..2274254bfa0 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs index 5dafabc07c9..bd1e504bb2b 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of the specified outlookCategory object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the writable property, color, of the specified outlookCategory object. You cannot modify the displayName propertyonce you have created the category. @@ -88,7 +88,7 @@ public async Task PatchAsync(OutlookCategory body, Action(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified outlookCategory object. diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs index d705aa22186..6a7e4b79f7f 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OutlookCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an outlookCategory object in the user's master list of categories. @@ -81,7 +81,7 @@ public async Task PostAsync(OutlookCategory body, Action(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the categories that have been defined for the user. diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs index 0d283c379c6..cc0ef407afc 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/OutlookRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task GetAsync(Action(requestInfo, OutlookUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the supportedTimeZones method. diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs index 05c44ce1c36..20ad6e4ea7f 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SupportedLanguagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SupportedLanguagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs index c39bf98f12c..bf3baba705c 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, SupportedTimeZonesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SupportedTimeZonesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function supportedTimeZones diff --git a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs index 44a36ea8d9e..495320d9bc8 100644 --- a/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SupportedTimeZonesWithTimeZoneStandardResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SupportedTimeZonesWithTimeZoneStandardResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function supportedTimeZones diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Count/CountRequestBuilder.cs index d7c615a3bfe..205f6c45595 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 896477f04ea..5d46bf02111 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 2908dc1fd7c..dd302bcee6f 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs index 6722e103301..b67ced7c870 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs index 4f065eedca3..e7efd43ac9b 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs index 559e16dfbce..627b54a84ce 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs index c1de7ae58c4..e9d2b7d276a 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs index 4dbda62c14a..fb8b3416767 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are owned by the user. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 1b73b7e1a64..a5155b10356 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs index b867d46c6db..210e4ef266d 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 5d749376ec1..bb673b87a3a 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/Me/OwnedDevices/OwnedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedDevices/OwnedDevicesRequestBuilder.cs index 902da833355..1a675f549ab 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedDevices/OwnedDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedDevices/OwnedDevicesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are owned by the user. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Count/CountRequestBuilder.cs index 5900ad9ebc9..05eedc53d6f 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs index e4c05237192..e4eb5eda6cf 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs index dee766a9ebe..017fe09a28a 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs index 766aa4ed43c..4103176d052 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs index 70ef139cdd4..2d810bf608c 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs index 1903085c1ea..126db23aea0 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index d739cff943c..a60da43ad46 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs index 826d4d61506..a3a656e1fbd 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 7e3e92355f0..169de9a1db0 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs index 9e7207ebc7f..abad4c31774 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 1e14588c2f6..d13e2ae15a0 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Me/OwnedObjects/OwnedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/OwnedObjects/OwnedObjectsRequestBuilder.cs index 64d98507c81..f2d424278ef 100644 --- a/src/Microsoft.Graph/Generated/Me/OwnedObjects/OwnedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/OwnedObjects/OwnedObjectsRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Me/People/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/People/Count/CountRequestBuilder.cs index 89d81cefaba..cc013e9f119 100644 --- a/src/Microsoft.Graph/Generated/Me/People/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/People/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/People/Item/PersonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/People/Item/PersonItemRequestBuilder.cs index ff10dbcc781..d4f2705971e 100644 --- a/src/Microsoft.Graph/Generated/Me/People/Item/PersonItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/People/Item/PersonItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Person.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Person.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// People that are relevant to the user. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/People/PeopleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/People/PeopleRequestBuilder.cs index e7ffd769d69..83f17afbe82 100644 --- a/src/Microsoft.Graph/Generated/Me/People/PeopleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/People/PeopleRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PersonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PersonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. diff --git a/src/Microsoft.Graph/Generated/Me/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photo/PhotoRequestBuilder.cs index 228ef82ac2d..e34a128d7e9 100644 --- a/src/Microsoft.Graph/Generated/Me/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Azure Active Directory. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in me @@ -91,7 +91,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property photo for me diff --git a/src/Microsoft.Graph/Generated/Me/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photo/Value/ContentRequestBuilder.cs index 8730c326166..3a741615407 100644 --- a/src/Microsoft.Graph/Generated/Me/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Photo/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from me diff --git a/src/Microsoft.Graph/Generated/Me/Photos/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/Count/CountRequestBuilder.cs index 66ce73cc838..4326abd10a8 100644 --- a/src/Microsoft.Graph/Generated/Me/Photos/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Photos/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Photos/Item/ProfilePhotoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/Item/ProfilePhotoItemRequestBuilder.cs index 92fb308273c..5d444e68493 100644 --- a/src/Microsoft.Graph/Generated/Me/Photos/Item/ProfilePhotoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Photos/Item/ProfilePhotoItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get photos from me diff --git a/src/Microsoft.Graph/Generated/Me/Photos/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/Item/Value/ContentRequestBuilder.cs index 196dcb15cc2..8ebba665020 100644 --- a/src/Microsoft.Graph/Generated/Me/Photos/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Photos/Item/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photos in me @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photos from me diff --git a/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs index 4ad9381e4b1..22edc177823 100644 --- a/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Photos/PhotosRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhotoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhotoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get photos from me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs index 37a8c265763..cc470918444 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/PlannerRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Entry-point to the Planner resource that might exist for a user. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property planner in me @@ -95,7 +95,7 @@ public async Task PatchAsync(PlannerUser body, Action(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property planner for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Count/CountRequestBuilder.cs index e6fa775b2f1..5adb284eed2 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs index 850ecc50678..272e75bd306 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to buckets for me @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerBucket objects contained by a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs index 859ebb80f33..bdf36211cb3 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs index 51fe7db0362..c099ef0326a 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of buckets in the plan. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property buckets in me @@ -90,7 +90,7 @@ public async Task PatchAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property buckets for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs index 3d1614153dc..e7be398ad4e 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index a2eb3256b44..fb75dc030e6 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index b86dd01ac72..fa3f00ecd7f 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 3a88bc7feb9..e7a6410b121 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 232742825ef..1d8e4cf2cad 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. The collection of tasks in the bucket. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in me @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 94dc872426b..d6ee44509d5 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs index a421b02b432..da64d90725d 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for me @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated to a plannerBucket object. diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Details/DetailsRequestBuilder.cs index 564b04ea7ab..c76c6659394 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerPlanDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerPlanDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 244530c34e8..11bac437a82 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Returns the plannerTasks assigned to the user. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property plans in me @@ -100,7 +100,7 @@ public async Task PatchAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property plans for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs index 0c1335acd31..b10efe3dd93 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 256a9cdd4fe..102708b0372 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index af8428b6eff..4f8a782ba82 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 7c8eda7afd0..84065eacdb5 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index b09f48c0a04..89796f71df4 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of tasks in the plan. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in me @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 40d032bb2fd..e636fdeeb97 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs index 468b1c3e74e..952dd68ea6a 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for me @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated with a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Plans/PlansRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Plans/PlansRequestBuilder.cs index cc6a6e25a9c..d9729707ad1 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Plans/PlansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Plans/PlansRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to plans for me @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerplan objects shared with a user object. diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Count/CountRequestBuilder.cs index 2cf0c403e05..6f3bd764918 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index d6712c69799..1e930ea0bf9 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 087a9c5c799..f4234146124 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs index 02602eaa529..1f8d2da0ef3 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 783be3a4e48..86151c54c75 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Returns the plannerPlans shared with the user. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in me @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 9c26de0d0b5..cb1962fe2ca 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in me @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for me diff --git a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/TasksRequestBuilder.cs index f88e315b547..4e6ada0e7c9 100644 --- a/src/Microsoft.Graph/Generated/Me/Planner/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Planner/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for me @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannertask objects assigned to a User. diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresenceRequestBuilder.cs index c75dc09ada5..5169b4dfd81 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/ClearPresence/ClearPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ClearPresencePostRequestBody body, Action /// Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. diff --git a/src/Microsoft.Graph/Generated/Me/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs index 19822c23517..1a4b9873960 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Clear the preferred availability and activity status for a user. diff --git a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs index 53d6f2fdd0d..306839cf669 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/PresenceRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get a user's presence information. @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property presence in me @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property presence for me diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresenceRequestBuilder.cs index cdca0627bb3..47e565b0b1f 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetPresence/SetPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetPresencePostRequestBody body, Action /// Set the state of a user's presence session as an application. diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs index 170def611da..d101fa5ef0a 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetStatusMessagePostRequestBody body, Action /// Invoke action setStatusMessage diff --git a/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs index 9e7858c23ea..5fbfe6c1efa 100644 --- a/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetUserPreferredPresencePostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Count/CountRequestBuilder.cs index 040a7fb5e35..5d40e872bd3 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 0508e24179f..0ed79843985 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index fd7bfd98a48..560ff2b52c1 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs index dce85d5296e..41b83586dd9 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs index bb6b08663c1..58bb8aa5658 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs index b41f01276d4..7539439383a 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs index 65b02dbe1bc..904341426e8 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs index 5b14967040b..ee328738386 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are registered for the user. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index ee8a8df24a4..0dd5bcd0b8e 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs index e618faab1ac..b8405f60b2e 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 00ef3dd2f4b..6c1f9cd97f5 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/RegisteredDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/RegisteredDevicesRequestBuilder.cs index 7543b917204..a3d0f2c4e99 100644 --- a/src/Microsoft.Graph/Generated/Me/RegisteredDevices/RegisteredDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RegisteredDevices/RegisteredDevicesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are registered for the user. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 2ef708f63c9..9766139d17d 100644 --- a/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ReminderViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ReminderViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function reminderView diff --git a/src/Microsoft.Graph/Generated/Me/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs index f2acefda923..0fa0e4d3a48 100644 --- a/src/Microsoft.Graph/Generated/Me/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Retire all devices from management for this user diff --git a/src/Microsoft.Graph/Generated/Me/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs index 0c9e5a4f3af..a9333f3cec0 100644 --- a/src/Microsoft.Graph/Generated/Me/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs @@ -46,7 +46,7 @@ public ReprocessLicenseAssignmentRequestBuilder(string rawUrl, IRequestAdapter r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Azure Active Directory. Also see Identify and resolve license assignment problems for a group in Azure Active Directory for more details. diff --git a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs index 9467d06f097..f01bb8d3a4b 100644 --- a/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Me/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs index 987073e0a68..8046da22f6c 100644 --- a/src/Microsoft.Graph/Generated/Me/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action /// Invoke action retryServiceProvisioning diff --git a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs index 8ac9bebb0a0..9efa63346b8 100644 --- a/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, RevokeSignInSessionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RevokeSignInSessionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. diff --git a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Count/CountRequestBuilder.cs index 524c11e49e4..bbe81fe2349 100644 --- a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs index a7fd2b3246f..371a87b205d 100644 --- a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get scopedRoleMemberOf from me @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopedRoleMemberOf in me @@ -85,7 +85,7 @@ public async Task PatchAsync(ScopedRoleMembership body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopedRoleMemberOf for me diff --git a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs index c60c8e3dbaf..34a31ea1f95 100644 --- a/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopedRoleMemberOf for me @@ -79,7 +79,7 @@ public async Task PostAsync(ScopedRoleMembership body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get scopedRoleMemberOf from me diff --git a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs index 55331f072fb..2f5c6fd1df4 100644 --- a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailPostRequestBody.cs @@ -19,20 +19,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The SaveToSentItems property public bool? SaveToSentItems { - get { return BackingStore?.Get("SaveToSentItems"); } - set { BackingStore?.Set("SaveToSentItems", value); } + get { return BackingStore?.Get("saveToSentItems"); } + set { BackingStore?.Set("saveToSentItems", value); } } /// /// Instantiates a new sendMailPostRequestBody and sets the default values. @@ -54,8 +54,8 @@ public static SendMailPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"SaveToSentItems", n => { SaveToSentItems = n.GetBoolValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"saveToSentItems", n => { SaveToSentItems = n.GetBoolValue(); } }, }; } /// @@ -64,8 +64,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Message", Message); - writer.WriteBoolValue("SaveToSentItems", SaveToSentItems); + writer.WriteObjectValue("message", Message); + writer.WriteBoolValue("saveToSentItems", SaveToSentItems); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailRequestBuilder.cs index e44dd34c66a..9a803bf7fff 100644 --- a/src/Microsoft.Graph/Generated/Me/SendMail/SendMailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/SendMail/SendMailRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendMailPostRequestBody body, Action /// Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. diff --git a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs index 6d7a3a6c971..e977d9b6c05 100644 --- a/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Settings/SettingsRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. @@ -92,7 +92,7 @@ public async Task PatchAsync(UserSettings body, Action(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property settings for me diff --git a/src/Microsoft.Graph/Generated/Me/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs index be48f671bc4..0bff08166d3 100644 --- a/src/Microsoft.Graph/Generated/Me/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a shiftPreferences object by ID. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties and relationships of a shiftPreferences object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property shiftPreferences for me diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs index ab2ceebb7e3..182d55c8fc9 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AssociatedTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to associatedTeams for me @@ -80,7 +80,7 @@ public async Task PostAsync(AssociatedTeamInfo body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs index 79ff261ecdf..4429c3b0613 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs index 2119aca9d0f..8ff7966869c 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The list of associatedTeamInfo objects that a user is associated with. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property associatedTeams in me @@ -90,7 +90,7 @@ public async Task PatchAsync(AssociatedTeamInfo body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property associatedTeams for me diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs index a0f127a3550..eee8274b5a9 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from me diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Count/CountRequestBuilder.cs index c88fd054109..94b6946cde4 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs index 0110ff2f6fa..ff44d99beb1 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install an app in the personal scope of the specified user. @@ -81,7 +81,7 @@ public async Task PostAsync(UserScopeTeamsAppInst {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of apps installed in the personal scope of the specified user. diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs index 6959ab82f3c..1435be9d2aa 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs @@ -46,7 +46,7 @@ public ChatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the chat of the specified user and Teams app. diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index f070aa1a42b..6ae1cd63fb8 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index 5e90e087585..0d76d4d647f 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs index 887043379b4..5d3007607cf 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the app installed in the personal scope of the specified user. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in me @@ -102,7 +102,7 @@ public async Task PatchAsync(UserScopeTeamsAppIns {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstall an app from the personal scope of the specified user. diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 221b29f0570..fa61ad243b9 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification to a user. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs index af08b2f1103..4a98abdcc4d 100644 --- a/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Teamwork/TeamworkRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// A container for Microsoft Teams features available for the user. Read-only. Nullable. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property teamwork in me @@ -100,7 +100,7 @@ public async Task PatchAsync(UserTeamwork body, Action(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property teamwork for me diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Count/CountRequestBuilder.cs index f5723ddfbbc..9be696e969e 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaRequestBuilder.cs index 7980232c7d3..bfc36a90b22 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs index 09ba50d465b..b9e03384ca2 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs index 8ee20dfd624..40d6a51de94 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for me @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the task list. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index e18c2387e28..3ca6d523a1d 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the task list. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs index 8e09696f4aa..ea97ec75ae2 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs index 9570cf64350..ec37684ed46 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs index f6c3116671a..ee6cf3709e3 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get attachmentSessions from me diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs index 1c95d69a3d4..2cd3b9f9d51 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs index c03d01849d4..32e66e5a054 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get attachmentSessions from me @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attachmentSessions in me @@ -90,7 +90,7 @@ public async Task PatchAsync(AttachmentSession body, Action(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachmentSessions for me diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs index 0fa40269722..da5b2b9ce1b 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content streams that are uploaded. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content streams that are uploaded. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs index 2453467c581..673937679b0 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. @@ -86,7 +86,7 @@ public async Task PostAsync(AttachmentBase body, Action(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs index 07767074ec0..c8515d13337 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 590e09e4d73..39c87ae74f3 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs index 69da37db1c2..a8854c9d300 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a taskFileAttachment object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a taskFileAttachment object from a todoTask resource. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs index 7a93ffb8ac3..ac218d7f12a 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property attachments in me @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property attachments from me diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs index 75f53f4b83b..c8582612d9f 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChecklistItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new checklistItem object. @@ -81,7 +81,7 @@ public async Task PostAsync(ChecklistItem body, Action(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs index 7158b3e25cb..ab60241108e 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs index e074ddb8fb0..0c99bb6a5ed 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a checklistItem object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a checklistItem object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ChecklistItem body, Action(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a checklistItem object. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs index 34e73190b6b..f7089f622a7 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs index 29053bc1288..aa8edcde6e8 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for me @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the task. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 6d22bd336c6..1dfee64a0ae 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the task. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in me @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for me diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs index 194883f8faf..e6105591f52 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs index df67ac76573..055afdc1ea2 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a linkedResource object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a linkedResource object. @@ -88,7 +88,7 @@ public async Task PatchAsync(LinkedResource body, Action(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a linkedResource object. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs index cc4c8a68d90..121f3dbf9db 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LinkedResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. @@ -81,7 +81,7 @@ public async Task PostAsync(LinkedResource body, Action(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs index e738cfbd9ba..21982886db1 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a todoTask object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a todoTask object. @@ -113,7 +113,7 @@ public async Task PatchAsync(TodoTask body, Action(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a todoTask object. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs index 1cee9776809..5d4f313a169 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TodoTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new task object in a specified todoTaskList. @@ -86,7 +86,7 @@ public async Task PostAsync(TodoTask body, Action(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the todoTask resources from the tasks navigation property of a specified todoTaskList. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs index c98f3f2a3d9..79ef7a61550 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a todoTaskList object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a todoTaskList object. @@ -98,7 +98,7 @@ public async Task PatchAsync(TodoTaskList body, Action(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a todoTaskList object. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/Lists/ListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/Lists/ListsRequestBuilder.cs index c52b1379c5e..43977c956dc 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/Lists/ListsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/Lists/ListsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TodoTaskListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new lists object. @@ -86,7 +86,7 @@ public async Task PostAsync(TodoTaskList body, Action(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the todoTaskList objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Me/Todo/TodoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/Todo/TodoRequestBuilder.cs index d79a979a686..1379f6ef450 100644 --- a/src/Microsoft.Graph/Generated/Me/Todo/TodoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/Todo/TodoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the To Do services available to a user. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property todo in me @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property todo for me diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Count/CountRequestBuilder.cs index 3a892e7a81f..1518d0057ad 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 71f1f91c6e1..d7e50c50140 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index ff380c6cc25..486848246e9 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs index 8439e402c71..2f28f6f526b 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 94767bf7a89..1a93cbcf010 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index e8a0232db87..04385ba58b1 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index df79d65795d..f22c071f964 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index f1a6487b572..a0868e3e93f 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index af25210a2d6..55313ee6abe 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 15877291fac..be2b91d284f 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index bac60618ccd..967ed467c9a 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index 9070652c261..41bab6d2f00 100644 --- a/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. diff --git a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs index 7c2edc94f52..241584204c4 100644 --- a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs @@ -19,25 +19,25 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? InputIds { - get { return BackingStore?.Get?>("InputIds"); } - set { BackingStore?.Set("InputIds", value); } + get { return BackingStore?.Get?>("inputIds"); } + set { BackingStore?.Set("inputIds", value); } } #nullable restore #else public List InputIds { - get { return BackingStore?.Get>("InputIds"); } - set { BackingStore?.Set("InputIds", value); } + get { return BackingStore?.Get>("inputIds"); } + set { BackingStore?.Set("inputIds", value); } } #endif /// The SourceIdType property public ExchangeIdFormat? SourceIdType { - get { return BackingStore?.Get("SourceIdType"); } - set { BackingStore?.Set("SourceIdType", value); } + get { return BackingStore?.Get("sourceIdType"); } + set { BackingStore?.Set("sourceIdType", value); } } /// The TargetIdType property public ExchangeIdFormat? TargetIdType { - get { return BackingStore?.Get("TargetIdType"); } - set { BackingStore?.Set("TargetIdType", value); } + get { return BackingStore?.Get("targetIdType"); } + set { BackingStore?.Set("targetIdType", value); } } /// /// Instantiates a new translateExchangeIdsPostRequestBody and sets the default values. @@ -59,9 +59,9 @@ public static TranslateExchangeIdsPostRequestBody CreateFromDiscriminatorValue(I /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"InputIds", n => { InputIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"SourceIdType", n => { SourceIdType = n.GetEnumValue(); } }, - {"TargetIdType", n => { TargetIdType = n.GetEnumValue(); } }, + {"inputIds", n => { InputIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"sourceIdType", n => { SourceIdType = n.GetEnumValue(); } }, + {"targetIdType", n => { TargetIdType = n.GetEnumValue(); } }, }; } /// @@ -70,9 +70,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("InputIds", InputIds); - writer.WriteEnumValue("SourceIdType", SourceIdType); - writer.WriteEnumValue("TargetIdType", TargetIdType); + writer.WriteCollectionOfPrimitiveValues("inputIds", InputIds); + writer.WriteEnumValue("sourceIdType", SourceIdType); + writer.WriteEnumValue("targetIdType", TargetIdType); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs index 9efa0d66c65..51c1f1df3cd 100644 --- a/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TranslateExchangeIdsPo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TranslateExchangeIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TranslateExchangeIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Translate identifiers of Outlook-related resources between formats. diff --git a/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs b/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs index 6be948bb3d2..4b1d1208cb0 100644 --- a/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Me/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WipeManagedAppRegistrationsByDeviceTagPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Issues a wipe operation on an app registration with specified device tag. diff --git a/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRequest.cs b/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRequest.cs index 12c676572f6..9080e7a7962 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRequest.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessPackageResourceRequest.cs @@ -44,7 +44,7 @@ public AccessPackageResource Resource { set { BackingStore?.Set("resource", value); } } #endif - /// The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed. Read-only. + /// The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it could not be added or removed. Read-only. public AccessPackageRequestState? State { get { return BackingStore?.Get("state"); } set { BackingStore?.Set("state", value); } diff --git a/src/Microsoft.Graph/Generated/Models/AccessReviewScheduleDefinition.cs b/src/Microsoft.Graph/Generated/Models/AccessReviewScheduleDefinition.cs index bff95c8cdb3..9ed3fd70b74 100644 --- a/src/Microsoft.Graph/Generated/Models/AccessReviewScheduleDefinition.cs +++ b/src/Microsoft.Graph/Generated/Models/AccessReviewScheduleDefinition.cs @@ -67,7 +67,7 @@ public string DescriptionForReviewers { set { BackingStore?.Set("descriptionForReviewers", value); } } #endif - /// Name of the access review series. Supports $select and $orderBy. Required on create. + /// Name of the access review series. Supports $select and $orderby. Required on create. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs b/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs index 84befbbd28a..a39c23b60a3 100644 --- a/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs +++ b/src/Microsoft.Graph/Generated/Models/AdministrativeUnit.cs @@ -20,7 +20,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + /// Display name for the administrative unit. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/Application.cs b/src/Microsoft.Graph/Generated/Models/Application.cs index 093891f8879..a8d9f6a6de7 100644 --- a/src/Microsoft.Graph/Generated/Models/Application.cs +++ b/src/Microsoft.Graph/Generated/Models/Application.cs @@ -104,7 +104,7 @@ public Microsoft.Graph.Models.Certification Certification { set { BackingStore?.Set("certification", value); } } #endif - /// The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy. + /// The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderby. public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } @@ -165,7 +165,7 @@ public string DisabledByMicrosoftStatus { set { BackingStore?.Set("disabledByMicrosoftStatus", value); } } #endif - /// The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + /// The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs b/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs index 7ed8bf8a09e..ed17b840900 100644 --- a/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs +++ b/src/Microsoft.Graph/Generated/Models/CallRecords/MediaStream.cs @@ -79,7 +79,7 @@ public float? AverageVideoPacketLossRate { } /// Stores model information. public IBackingStore BackingStore { get; private set; } - /// UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + /// UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. public DateTimeOffset? EndDateTime { get { return BackingStore?.Get("endDateTime"); } set { BackingStore?.Set("endDateTime", value); } @@ -153,7 +153,7 @@ public TimeSpan? RmsFreezeDuration { get { return BackingStore?.Get("rmsFreezeDuration"); } set { BackingStore?.Set("rmsFreezeDuration", value); } } - /// UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z + /// UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol. public DateTimeOffset? StartDateTime { get { return BackingStore?.Get("startDateTime"); } set { BackingStore?.Set("startDateTime", value); } diff --git a/src/Microsoft.Graph/Generated/Models/CallRecords/NetworkInfo.cs b/src/Microsoft.Graph/Generated/Models/CallRecords/NetworkInfo.cs index a2126a460d2..10919e855be 100644 --- a/src/Microsoft.Graph/Generated/Models/CallRecords/NetworkInfo.cs +++ b/src/Microsoft.Graph/Generated/Models/CallRecords/NetworkInfo.cs @@ -76,7 +76,7 @@ public long? LinkSpeed { get { return BackingStore?.Get("linkSpeed"); } set { BackingStore?.Set("linkSpeed", value); } } - /// The media access control (MAC) address of the media endpoint's network device. + /// The media access control (MAC) address of the media endpoint's network device. This value may be missing or shown as 02:00:00:00:00:00 due to operating system privacy policies. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? MacAddress { diff --git a/src/Microsoft.Graph/Generated/Models/DelegatedAdminCustomer.cs b/src/Microsoft.Graph/Generated/Models/DelegatedAdminCustomer.cs index 635bbb0122d..6468ef2722c 100644 --- a/src/Microsoft.Graph/Generated/Models/DelegatedAdminCustomer.cs +++ b/src/Microsoft.Graph/Generated/Models/DelegatedAdminCustomer.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { public class DelegatedAdminCustomer : Entity, IParsable { - /// The Azure AD display name of the customer tenant. Read-only. Supports $orderBy. + /// The Azure AD display name of the customer tenant. Read-only. Supports $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs b/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs index a16ac93e996..0bc0c931677 100644 --- a/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs +++ b/src/Microsoft.Graph/Generated/Models/DelegatedAdminRelationship.cs @@ -115,7 +115,7 @@ public List Requests { set { BackingStore?.Set("requests", value); } } #endif - /// The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderBy. + /// The status of the relationship. Read Only. The possible values are: activating, active, approvalPending, approved, created, expired, expiring, terminated, terminating, terminationRequested, unknownFutureValue. Supports $orderby. public DelegatedAdminRelationshipStatus? Status { get { return BackingStore?.Get("status"); } set { BackingStore?.Set("status", value); } diff --git a/src/Microsoft.Graph/Generated/Models/Device.cs b/src/Microsoft.Graph/Generated/Models/Device.cs index f726ec483c2..75e4ac652d4 100644 --- a/src/Microsoft.Graph/Generated/Models/Device.cs +++ b/src/Microsoft.Graph/Generated/Models/Device.cs @@ -25,7 +25,7 @@ public List AlternativeSecurityIds { set { BackingStore?.Set("alternativeSecurityIds", value); } } #endif - /// The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderBy. + /// The timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, and eq on null values) and $orderby. public DateTimeOffset? ApproximateLastSignInDateTime { get { return BackingStore?.Get("approximateLastSignInDateTime"); } set { BackingStore?.Set("approximateLastSignInDateTime", value); } @@ -96,7 +96,7 @@ public int? DeviceVersion { get { return BackingStore?.Get("deviceVersion"); } set { BackingStore?.Set("deviceVersion", value); } } - /// The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + /// The display name for the device. Required. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -303,7 +303,7 @@ public List TransitiveMemberOf { set { BackingStore?.Set("transitiveMemberOf", value); } } #endif - /// Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory + /// Type of trust for the joined device. Read-only. Possible values: Workplace (indicates bring your own personal devices), AzureAd (Cloud only joined devices), ServerAd (on-premises domain joined devices joined to Azure AD). For more details, see Introduction to device management in Azure Active Directory. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? TrustType { diff --git a/src/Microsoft.Graph/Generated/Models/DeviceActionResult.cs b/src/Microsoft.Graph/Generated/Models/DeviceActionResult.cs index c09dcbad593..41fb06932cb 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceActionResult.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceActionResult.cs @@ -79,6 +79,7 @@ public static DeviceActionResult CreateFromDiscriminatorValue(IParseNode parseNo "#microsoft.graph.locateDeviceActionResult" => new LocateDeviceActionResult(), "#microsoft.graph.remoteLockActionResult" => new RemoteLockActionResult(), "#microsoft.graph.resetPasscodeActionResult" => new ResetPasscodeActionResult(), + "#microsoft.graph.rotateBitLockerKeysDeviceActionResult" => new RotateBitLockerKeysDeviceActionResult(), "#microsoft.graph.windowsDefenderScanActionResult" => new WindowsDefenderScanActionResult(), _ => new DeviceActionResult(), }; diff --git a/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs b/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs index 48c0da755dc..581c32a584f 100644 --- a/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs +++ b/src/Microsoft.Graph/Generated/Models/DeviceManagement.cs @@ -690,6 +690,20 @@ public List UserExperienceAnalytics get { return BackingStore?.Get>("userExperienceAnalyticsDeviceStartupProcesses"); } set { BackingStore?.Set("userExperienceAnalyticsDeviceStartupProcesses", value); } } +#endif + /// User experience analytics device Startup Process Performance +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? UserExperienceAnalyticsDeviceStartupProcessPerformance { + get { return BackingStore?.Get?>("userExperienceAnalyticsDeviceStartupProcessPerformance"); } + set { BackingStore?.Set("userExperienceAnalyticsDeviceStartupProcessPerformance", value); } + } +#nullable restore +#else + public List UserExperienceAnalyticsDeviceStartupProcessPerformance { + get { return BackingStore?.Get>("userExperienceAnalyticsDeviceStartupProcessPerformance"); } + set { BackingStore?.Set("userExperienceAnalyticsDeviceStartupProcessPerformance", value); } + } #endif /// User experience analytics metric history #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -936,6 +950,7 @@ public Microsoft.Graph.Models.WindowsMalwareOverview WindowsMalwareOverview { {"userExperienceAnalyticsDeviceScores", n => { UserExperienceAnalyticsDeviceScores = n.GetCollectionOfObjectValues(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceScores.CreateFromDiscriminatorValue)?.ToList(); } }, {"userExperienceAnalyticsDeviceStartupHistory", n => { UserExperienceAnalyticsDeviceStartupHistory = n.GetCollectionOfObjectValues(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupHistory.CreateFromDiscriminatorValue)?.ToList(); } }, {"userExperienceAnalyticsDeviceStartupProcesses", n => { UserExperienceAnalyticsDeviceStartupProcesses = n.GetCollectionOfObjectValues(UserExperienceAnalyticsDeviceStartupProcess.CreateFromDiscriminatorValue)?.ToList(); } }, + {"userExperienceAnalyticsDeviceStartupProcessPerformance", n => { UserExperienceAnalyticsDeviceStartupProcessPerformance = n.GetCollectionOfObjectValues(Microsoft.Graph.Models.UserExperienceAnalyticsDeviceStartupProcessPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, {"userExperienceAnalyticsMetricHistory", n => { UserExperienceAnalyticsMetricHistory = n.GetCollectionOfObjectValues(Microsoft.Graph.Models.UserExperienceAnalyticsMetricHistory.CreateFromDiscriminatorValue)?.ToList(); } }, {"userExperienceAnalyticsModelScores", n => { UserExperienceAnalyticsModelScores = n.GetCollectionOfObjectValues(Microsoft.Graph.Models.UserExperienceAnalyticsModelScores.CreateFromDiscriminatorValue)?.ToList(); } }, {"userExperienceAnalyticsOverview", n => { UserExperienceAnalyticsOverview = n.GetObjectValue(Microsoft.Graph.Models.UserExperienceAnalyticsOverview.CreateFromDiscriminatorValue); } }, @@ -1008,6 +1023,7 @@ public Microsoft.Graph.Models.WindowsMalwareOverview WindowsMalwareOverview { writer.WriteCollectionOfObjectValues("userExperienceAnalyticsDeviceScores", UserExperienceAnalyticsDeviceScores); writer.WriteCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupHistory", UserExperienceAnalyticsDeviceStartupHistory); writer.WriteCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcesses", UserExperienceAnalyticsDeviceStartupProcesses); + writer.WriteCollectionOfObjectValues("userExperienceAnalyticsDeviceStartupProcessPerformance", UserExperienceAnalyticsDeviceStartupProcessPerformance); writer.WriteCollectionOfObjectValues("userExperienceAnalyticsMetricHistory", UserExperienceAnalyticsMetricHistory); writer.WriteCollectionOfObjectValues("userExperienceAnalyticsModelScores", UserExperienceAnalyticsModelScores); writer.WriteObjectValue("userExperienceAnalyticsOverview", UserExperienceAnalyticsOverview); diff --git a/src/Microsoft.Graph/Generated/Models/Entity.cs b/src/Microsoft.Graph/Generated/Models/Entity.cs index 178014199f4..93c387134bf 100644 --- a/src/Microsoft.Graph/Generated/Models/Entity.cs +++ b/src/Microsoft.Graph/Generated/Models/Entity.cs @@ -402,6 +402,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) { "#microsoft.graph.macOSCompliancePolicy" => new MacOSCompliancePolicy(), "#microsoft.graph.macOSCustomConfiguration" => new MacOSCustomConfiguration(), "#microsoft.graph.macOSDeviceFeaturesConfiguration" => new MacOSDeviceFeaturesConfiguration(), + "#microsoft.graph.macOSDmgApp" => new MacOSDmgApp(), "#microsoft.graph.macOSGeneralDeviceConfiguration" => new MacOSGeneralDeviceConfiguration(), "#microsoft.graph.macOSLobApp" => new MacOSLobApp(), "#microsoft.graph.macOSMicrosoftDefenderApp" => new MacOSMicrosoftDefenderApp(), @@ -738,6 +739,7 @@ public static Entity CreateFromDiscriminatorValue(IParseNode parseNode) { "#microsoft.graph.userExperienceAnalyticsDeviceScores" => new UserExperienceAnalyticsDeviceScores(), "#microsoft.graph.userExperienceAnalyticsDeviceStartupHistory" => new UserExperienceAnalyticsDeviceStartupHistory(), "#microsoft.graph.userExperienceAnalyticsDeviceStartupProcess" => new UserExperienceAnalyticsDeviceStartupProcess(), + "#microsoft.graph.userExperienceAnalyticsDeviceStartupProcessPerformance" => new UserExperienceAnalyticsDeviceStartupProcessPerformance(), "#microsoft.graph.userExperienceAnalyticsMetric" => new UserExperienceAnalyticsMetric(), "#microsoft.graph.userExperienceAnalyticsMetricHistory" => new UserExperienceAnalyticsMetricHistory(), "#microsoft.graph.userExperienceAnalyticsModelScores" => new UserExperienceAnalyticsModelScores(), diff --git a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs index 840b0d0906b..622dae29198 100644 --- a/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs +++ b/src/Microsoft.Graph/Generated/Models/ExternalConnectors/Property.cs @@ -48,7 +48,7 @@ public bool? IsSearchable { get { return BackingStore?.Get("isSearchable"); } set { BackingStore?.Set("isSearchable", value); } } - /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue. Optional. + /// Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, iconUrl, unknownFutureValue. Optional. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Labels { diff --git a/src/Microsoft.Graph/Generated/Models/Group.cs b/src/Microsoft.Graph/Generated/Models/Group.cs index 7cd02f7f211..a0de20c4650 100644 --- a/src/Microsoft.Graph/Generated/Models/Group.cs +++ b/src/Microsoft.Graph/Generated/Models/Group.cs @@ -161,7 +161,7 @@ public string Description { set { BackingStore?.Set("description", value); } } #endif - /// The display name for the group. This property is required when a group is created and cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + /// The display name for the group. This property is required when a group is created and cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs index ce066da7577..d47e49a0bc3 100644 --- a/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs +++ b/src/Microsoft.Graph/Generated/Models/IdentityGovernance/Workflow.cs @@ -39,7 +39,7 @@ public string Id { set { BackingStore?.Set("id", value); } } #endif - /// The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderBy. + /// The date time when the workflow is expected to run next based on the schedule interval, if there are any users matching the execution conditions. Supports $filter(lt,gt) and $orderby. public DateTimeOffset? NextScheduleRunDateTime { get { return BackingStore?.Get("nextScheduleRunDateTime"); } set { BackingStore?.Set("nextScheduleRunDateTime", value); } diff --git a/src/Microsoft.Graph/Generated/Models/MacOSDmgApp.cs b/src/Microsoft.Graph/Generated/Models/MacOSDmgApp.cs new file mode 100644 index 00000000000..1582c860d52 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MacOSDmgApp.cs @@ -0,0 +1,113 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + /// + /// Contains properties and inherited properties for the MacOS DMG (Apple Disk Image) App. + /// + public class MacOSDmgApp : MobileLobApp, IParsable { + /// When TRUE, indicates that the app's version will NOT be used to detect if the app is installed on a device. When FALSE, indicates that the app's version will be used to detect if the app is installed on a device. Set this to true for apps that use a self update feature. The default value is FALSE. + public bool? IgnoreVersionDetection { + get { return BackingStore?.Get("ignoreVersionDetection"); } + set { BackingStore?.Set("ignoreVersionDetection", value); } + } + /// The list of .apps expected to be installed by the DMG (Apple Disk Image) +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public List? IncludedApps { + get { return BackingStore?.Get?>("includedApps"); } + set { BackingStore?.Set("includedApps", value); } + } +#nullable restore +#else + public List IncludedApps { + get { return BackingStore?.Get>("includedApps"); } + set { BackingStore?.Set("includedApps", value); } + } +#endif + /// ComplexType macOSMinimumOperatingSystem that indicates the minimum operating system applicable for the application. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public MacOSMinimumOperatingSystem? MinimumSupportedOperatingSystem { + get { return BackingStore?.Get("minimumSupportedOperatingSystem"); } + set { BackingStore?.Set("minimumSupportedOperatingSystem", value); } + } +#nullable restore +#else + public MacOSMinimumOperatingSystem MinimumSupportedOperatingSystem { + get { return BackingStore?.Get("minimumSupportedOperatingSystem"); } + set { BackingStore?.Set("minimumSupportedOperatingSystem", value); } + } +#endif + /// The bundleId of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleIdentifier in the app's bundle configuration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrimaryBundleId { + get { return BackingStore?.Get("primaryBundleId"); } + set { BackingStore?.Set("primaryBundleId", value); } + } +#nullable restore +#else + public string PrimaryBundleId { + get { return BackingStore?.Get("primaryBundleId"); } + set { BackingStore?.Set("primaryBundleId", value); } + } +#endif + /// The version of the primary .app in the DMG (Apple Disk Image). This maps to the CFBundleShortVersion in the app's bundle configuration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? PrimaryBundleVersion { + get { return BackingStore?.Get("primaryBundleVersion"); } + set { BackingStore?.Set("primaryBundleVersion", value); } + } +#nullable restore +#else + public string PrimaryBundleVersion { + get { return BackingStore?.Get("primaryBundleVersion"); } + set { BackingStore?.Set("primaryBundleVersion", value); } + } +#endif + /// + /// Instantiates a new macOSDmgApp and sets the default values. + /// + public MacOSDmgApp() : base() { + OdataType = "#microsoft.graph.macOSDmgApp"; + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new MacOSDmgApp CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new MacOSDmgApp(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"ignoreVersionDetection", n => { IgnoreVersionDetection = n.GetBoolValue(); } }, + {"includedApps", n => { IncludedApps = n.GetCollectionOfObjectValues(MacOSIncludedApp.CreateFromDiscriminatorValue)?.ToList(); } }, + {"minimumSupportedOperatingSystem", n => { MinimumSupportedOperatingSystem = n.GetObjectValue(MacOSMinimumOperatingSystem.CreateFromDiscriminatorValue); } }, + {"primaryBundleId", n => { PrimaryBundleId = n.GetStringValue(); } }, + {"primaryBundleVersion", n => { PrimaryBundleVersion = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteBoolValue("ignoreVersionDetection", IgnoreVersionDetection); + writer.WriteCollectionOfObjectValues("includedApps", IncludedApps); + writer.WriteObjectValue("minimumSupportedOperatingSystem", MinimumSupportedOperatingSystem); + writer.WriteStringValue("primaryBundleId", PrimaryBundleId); + writer.WriteStringValue("primaryBundleVersion", PrimaryBundleVersion); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MacOSIncludedApp.cs b/src/Microsoft.Graph/Generated/Models/MacOSIncludedApp.cs new file mode 100644 index 00000000000..1c86e2e551c --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/MacOSIncludedApp.cs @@ -0,0 +1,99 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions.Store; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + /// + /// Contains properties of an included .app in a MacOS app. + /// + public class MacOSIncludedApp : 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"); } + set { BackingStore?.Set("additionalData", value); } + } + /// Stores model information. + public IBackingStore BackingStore { get; private set; } + /// The bundleId of the app. This maps to the CFBundleIdentifier in the app's bundle configuration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BundleId { + get { return BackingStore?.Get("bundleId"); } + set { BackingStore?.Set("bundleId", value); } + } +#nullable restore +#else + public string BundleId { + get { return BackingStore?.Get("bundleId"); } + set { BackingStore?.Set("bundleId", value); } + } +#endif + /// The version of the app. This maps to the CFBundleShortVersion in the app's bundle configuration. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? BundleVersion { + get { return BackingStore?.Get("bundleVersion"); } + set { BackingStore?.Set("bundleVersion", value); } + } +#nullable restore +#else + public string BundleVersion { + get { return BackingStore?.Get("bundleVersion"); } + set { BackingStore?.Set("bundleVersion", 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 macOSIncludedApp and sets the default values. + /// + public MacOSIncludedApp() { + BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore(); + AdditionalData = new Dictionary(); + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static MacOSIncludedApp CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new MacOSIncludedApp(); + } + /// + /// The deserialization information for the current model + /// + public IDictionary> GetFieldDeserializers() { + return new Dictionary> { + {"bundleId", n => { BundleId = n.GetStringValue(); } }, + {"bundleVersion", n => { BundleVersion = n.GetStringValue(); } }, + {"@odata.type", n => { OdataType = n.GetStringValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + writer.WriteStringValue("bundleId", BundleId); + writer.WriteStringValue("bundleVersion", BundleVersion); + writer.WriteStringValue("@odata.type", OdataType); + writer.WriteAdditionalData(AdditionalData); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/MobileApp.cs b/src/Microsoft.Graph/Generated/Models/MobileApp.cs index ea2ee559c11..8f04100a2f0 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileApp.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileApp.cs @@ -197,6 +197,7 @@ public MobileAppPublishingState? PublishingState { "#microsoft.graph.iosLobApp" => new IosLobApp(), "#microsoft.graph.iosStoreApp" => new IosStoreApp(), "#microsoft.graph.iosVppApp" => new IosVppApp(), + "#microsoft.graph.macOSDmgApp" => new MacOSDmgApp(), "#microsoft.graph.macOSLobApp" => new MacOSLobApp(), "#microsoft.graph.macOSMicrosoftDefenderApp" => new MacOSMicrosoftDefenderApp(), "#microsoft.graph.macOSMicrosoftEdgeApp" => new MacOSMicrosoftEdgeApp(), diff --git a/src/Microsoft.Graph/Generated/Models/MobileLobApp.cs b/src/Microsoft.Graph/Generated/Models/MobileLobApp.cs index d986869bdaa..99aa55494fb 100644 --- a/src/Microsoft.Graph/Generated/Models/MobileLobApp.cs +++ b/src/Microsoft.Graph/Generated/Models/MobileLobApp.cs @@ -72,6 +72,7 @@ public MobileLobApp() : base() { return mappingValue switch { "#microsoft.graph.androidLobApp" => new AndroidLobApp(), "#microsoft.graph.iosLobApp" => new IosLobApp(), + "#microsoft.graph.macOSDmgApp" => new MacOSDmgApp(), "#microsoft.graph.macOSLobApp" => new MacOSLobApp(), "#microsoft.graph.win32LobApp" => new Win32LobApp(), "#microsoft.graph.windowsAppX" => new WindowsAppX(), diff --git a/src/Microsoft.Graph/Generated/Models/ODataErrors/InnerError.cs b/src/Microsoft.Graph/Generated/Models/ODataErrors/InnerError.cs index dd8cf3647f7..42dce751ca4 100644 --- a/src/Microsoft.Graph/Generated/Models/ODataErrors/InnerError.cs +++ b/src/Microsoft.Graph/Generated/Models/ODataErrors/InnerError.cs @@ -30,8 +30,8 @@ public string ClientRequestId { #endif /// Date when the error occured. public DateTimeOffset? Date { - get { return BackingStore?.Get("Date"); } - set { BackingStore?.Set("Date", value); } + get { return BackingStore?.Get("date"); } + set { BackingStore?.Set("date", value); } } /// The OdataType property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -82,7 +82,7 @@ public static InnerError CreateFromDiscriminatorValue(IParseNode parseNode) { public IDictionary> GetFieldDeserializers() { return new Dictionary> { {"client-request-id", n => { ClientRequestId = n.GetStringValue(); } }, - {"Date", n => { Date = n.GetDateTimeOffsetValue(); } }, + {"date", n => { Date = n.GetDateTimeOffsetValue(); } }, {"@odata.type", n => { OdataType = n.GetStringValue(); } }, {"request-id", n => { RequestId = n.GetStringValue(); } }, }; @@ -94,7 +94,7 @@ public IDictionary> GetFieldDeserializers() { public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); writer.WriteStringValue("client-request-id", ClientRequestId); - writer.WriteDateTimeOffsetValue("Date", Date); + writer.WriteDateTimeOffsetValue("date", Date); writer.WriteStringValue("@odata.type", OdataType); writer.WriteStringValue("request-id", RequestId); writer.WriteAdditionalData(AdditionalData); diff --git a/src/Microsoft.Graph/Generated/Models/ODataErrors/ODataError.cs b/src/Microsoft.Graph/Generated/Models/ODataErrors/ODataError.cs index 46f33009381..ea9b2a1917b 100644 --- a/src/Microsoft.Graph/Generated/Models/ODataErrors/ODataError.cs +++ b/src/Microsoft.Graph/Generated/Models/ODataErrors/ODataError.cs @@ -29,6 +29,8 @@ public MainError Error { set { BackingStore?.Set("error", value); } } #endif + /// The primary error message. + public override string Message { get => Error?.Message ?? string.Empty; } /// /// Instantiates a new ODataError and sets the default values. /// diff --git a/src/Microsoft.Graph/Generated/Models/OrgContact.cs b/src/Microsoft.Graph/Generated/Models/OrgContact.cs index 6049fc26133..dd9bd1dc8f7 100644 --- a/src/Microsoft.Graph/Generated/Models/OrgContact.cs +++ b/src/Microsoft.Graph/Generated/Models/OrgContact.cs @@ -62,7 +62,7 @@ public List DirectReports { set { BackingStore?.Set("directReports", value); } } #endif - /// Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderBy. + /// Display name for this organizational contact. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq for null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/RotateBitLockerKeysDeviceActionResult.cs b/src/Microsoft.Graph/Generated/Models/RotateBitLockerKeysDeviceActionResult.cs new file mode 100644 index 00000000000..e314056c13e --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/RotateBitLockerKeysDeviceActionResult.cs @@ -0,0 +1,43 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + /// + /// RotateBitLockerKeys device action result + /// + public class RotateBitLockerKeysDeviceActionResult : DeviceActionResult, IParsable { + /// RotateBitLockerKeys action error code + public int? ErrorCode { + get { return BackingStore?.Get("errorCode"); } + set { BackingStore?.Set("errorCode", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new RotateBitLockerKeysDeviceActionResult CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new RotateBitLockerKeysDeviceActionResult(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"errorCode", n => { ErrorCode = n.GetIntValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteIntValue("errorCode", ErrorCode); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs index 48c66eb93df..6423b00f5cc 100644 --- a/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs +++ b/src/Microsoft.Graph/Generated/Models/ServicePrincipal.cs @@ -245,7 +245,7 @@ public string DisabledByMicrosoftStatus { set { BackingStore?.Set("disabledByMicrosoftStatus", value); } } #endif - /// The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy. + /// The display name for the service principal. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { diff --git a/src/Microsoft.Graph/Generated/Models/Site.cs b/src/Microsoft.Graph/Generated/Models/Site.cs index b74bcdf0194..de50d2ee9fb 100644 --- a/src/Microsoft.Graph/Generated/Models/Site.cs +++ b/src/Microsoft.Graph/Generated/Models/Site.cs @@ -119,6 +119,11 @@ public List ExternalColumns { set { BackingStore?.Set("externalColumns", value); } } #endif + /// The isPersonalSite property + public bool? IsPersonalSite { + get { return BackingStore?.Get("isPersonalSite"); } + set { BackingStore?.Set("isPersonalSite", value); } + } /// Used to address any item contained in this site. This collection can't be enumerated. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable @@ -300,6 +305,7 @@ public Site() : base() { {"drives", n => { Drives = n.GetCollectionOfObjectValues(Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue)?.ToList(); } }, {"error", n => { Error = n.GetObjectValue(PublicError.CreateFromDiscriminatorValue); } }, {"externalColumns", n => { ExternalColumns = n.GetCollectionOfObjectValues(ColumnDefinition.CreateFromDiscriminatorValue)?.ToList(); } }, + {"isPersonalSite", n => { IsPersonalSite = n.GetBoolValue(); } }, {"items", n => { Items = n.GetCollectionOfObjectValues(BaseItem.CreateFromDiscriminatorValue)?.ToList(); } }, {"lists", n => { Lists = n.GetCollectionOfObjectValues(List.CreateFromDiscriminatorValue)?.ToList(); } }, {"onenote", n => { Onenote = n.GetObjectValue(Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue); } }, @@ -328,6 +334,7 @@ public Site() : base() { writer.WriteCollectionOfObjectValues("drives", Drives); writer.WriteObjectValue("error", Error); writer.WriteCollectionOfObjectValues("externalColumns", ExternalColumns); + writer.WriteBoolValue("isPersonalSite", IsPersonalSite); writer.WriteCollectionOfObjectValues("items", Items); writer.WriteCollectionOfObjectValues("lists", Lists); writer.WriteObjectValue("onenote", Onenote); diff --git a/src/Microsoft.Graph/Generated/Models/User.cs b/src/Microsoft.Graph/Generated/Models/User.cs index 527a651500e..e811943a8c4 100644 --- a/src/Microsoft.Graph/Generated/Models/User.cs +++ b/src/Microsoft.Graph/Generated/Models/User.cs @@ -39,7 +39,7 @@ public List Activities { set { BackingStore?.Set("activities", value); } } #endif - /// Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. Supports $filter (eq, ne, not, and in). + /// Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. For more information, see legal age group property definitions. Returned only on $select. Supports $filter (eq, ne, not, and in). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? AgeGroup { @@ -81,7 +81,7 @@ public List AppRoleAssignments { set { BackingStore?.Set("appRoleAssignments", value); } } #endif - /// The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly-assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly-assigned and inherited licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, /$count eq 0, /$count ne 0). + /// The licenses that are assigned to the user, including inherited (group-based) licenses. This property doesn't differentiate directly assigned and inherited licenses. Use the licenseAssignmentStates property to identify the directly assigned and inherited licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, /$count eq 0, /$count ne 0). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? AssignedLicenses { @@ -226,7 +226,7 @@ public List Chats { set { BackingStore?.Set("chats", value); } } #endif - /// The city in which the user is located. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// The city where the user is located. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? City { @@ -240,7 +240,7 @@ public string City { set { BackingStore?.Set("city", value); } } #endif - /// The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// The name of the company that the user is associated with. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? CompanyName { @@ -296,7 +296,7 @@ public List Contacts { set { BackingStore?.Set("contacts", value); } } #endif - /// The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// The country or region where the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Country { @@ -315,7 +315,7 @@ public DateTimeOffset? CreatedDateTime { get { return BackingStore?.Get("createdDateTime"); } set { BackingStore?.Set("createdDateTime", value); } } - /// Directory objects that were created by the user. Read-only. Nullable. + /// Directory objects that the user created. Read-only. Nullable. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? CreatedObjects { @@ -404,7 +404,7 @@ public List DirectReports { set { BackingStore?.Set("directReports", value); } } #endif - /// The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search. + /// The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderby, and $search. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DisplayName { @@ -484,7 +484,7 @@ public DateTimeOffset? EmployeeLeaveDateTime { get { return BackingStore?.Get("employeeLeaveDateTime"); } set { BackingStore?.Set("employeeLeaveDateTime", value); } } - /// Represents organization data (e.g. division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). + /// Represents organization data (for example, division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.EmployeeOrgData? EmployeeOrgData { @@ -634,7 +634,7 @@ public List ImAddresses { set { BackingStore?.Set("imAddresses", value); } } #endif - /// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.InferenceClassification? InferenceClassification { @@ -728,7 +728,7 @@ public string LegalAgeGroupClassification { set { BackingStore?.Set("legalAgeGroupClassification", value); } } #endif - /// State of license assignments for this user. Also indicates licenses that are directly-assigned and those that the user has inherited through group memberships. Read-only. Returned only on $select. + /// State of license assignments for this user. Also indicates licenses that are directly assigned or the user has inherited through group memberships. Read-only. Returned only on $select. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? LicenseAssignmentStates { @@ -756,7 +756,7 @@ public List LicenseDetails { set { BackingStore?.Set("licenseDetails", value); } } #endif - /// The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property cannot contain accent characters. NOTE: We do not recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). + /// The SMTP address for the user, for example, jeff@contoso.onmicrosoft.com. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Mail { @@ -1008,7 +1008,7 @@ public Microsoft.Graph.Models.OnPremisesExtensionAttributes OnPremisesExtensionA set { BackingStore?.Set("onPremisesExtensionAttributes", value); } } #endif - /// This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in).. + /// This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you're using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters can't be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in).. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? OnPremisesImmutableId { @@ -1088,7 +1088,7 @@ public string OnPremisesUserPrincipalName { set { BackingStore?.Set("onPremisesUserPrincipalName", value); } } #endif - /// A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property cannot contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). + /// A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. NOTE: This property can't contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, /$count eq 0, /$count ne 0). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? OtherMails { @@ -1144,7 +1144,7 @@ public List OwnedObjects { set { BackingStore?.Set("ownedObjects", value); } } #endif - /// Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values). + /// Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD password policies. Supports $filter (ne, not, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PasswordPolicies { @@ -1270,7 +1270,7 @@ public string PreferredDataLocation { set { BackingStore?.Set("preferredDataLocation", value); } } #endif - /// The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) + /// The preferred language for the user. Should follow ISO 639-1 Code; for example, en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values) #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? PreferredLanguage { @@ -1340,7 +1340,7 @@ public List ProvisionedPlans { set { BackingStore?.Set("provisionedPlans", value); } } #endif - /// For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). + /// For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of 10 unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith, endsWith, /$count eq 0, /$count ne 0). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ProxyAddresses { @@ -1471,7 +1471,7 @@ public Microsoft.Graph.Models.SignInActivity SignInActivity { set { BackingStore?.Set("signInActivity", value); } } #endif - /// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select. + /// Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application needs to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select. public DateTimeOffset? SignInSessionsValidFromDateTime { get { return BackingStore?.Get("signInSessionsValidFromDateTime"); } set { BackingStore?.Set("signInSessionsValidFromDateTime", value); } @@ -1574,7 +1574,7 @@ public List TransitiveMemberOf { set { BackingStore?.Set("transitiveMemberOf", value); } } #endif - /// A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + /// A two letter country code (ISO standard 3166). Required for users that are assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UsageLocation { @@ -1588,7 +1588,7 @@ public string UsageLocation { set { BackingStore?.Set("usageLocation", value); } } #endif - /// The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy. + /// The user principal name (UPN) of the user. The UPN is an Internet-style sign-in name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property can't contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UserPrincipalName { diff --git a/src/Microsoft.Graph/Generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformance.cs b/src/Microsoft.Graph/Generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformance.cs new file mode 100644 index 00000000000..015148eebd9 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformance.cs @@ -0,0 +1,105 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + /// + /// The user experience analytics device startup process performance. + /// + public class UserExperienceAnalyticsDeviceStartupProcessPerformance : Entity, IParsable { + /// The count of devices which initiated this process on startup. Supports: $filter, $select, $OrderBy. Read-only. + public long? DeviceCount { + get { return BackingStore?.Get("deviceCount"); } + set { BackingStore?.Set("deviceCount", value); } + } + /// The median impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. + public long? MedianImpactInMs { + get { return BackingStore?.Get("medianImpactInMs"); } + set { BackingStore?.Set("medianImpactInMs", value); } + } + /// The name of the startup process. Examples: outlook, excel. Supports: $select, $OrderBy. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProcessName { + get { return BackingStore?.Get("processName"); } + set { BackingStore?.Set("processName", value); } + } +#nullable restore +#else + public string ProcessName { + get { return BackingStore?.Get("processName"); } + set { BackingStore?.Set("processName", value); } + } +#endif + /// The product name of the startup process. Examples: Microsoft Outlook, Microsoft Excel. Supports: $select, $OrderBy. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? ProductName { + get { return BackingStore?.Get("productName"); } + set { BackingStore?.Set("productName", value); } + } +#nullable restore +#else + public string ProductName { + get { return BackingStore?.Get("productName"); } + set { BackingStore?.Set("productName", value); } + } +#endif + /// The publisher of the startup process. Examples: Microsoft Corporation, Contoso Corp. Supports: $select, $OrderBy. Read-only. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public string? Publisher { + get { return BackingStore?.Get("publisher"); } + set { BackingStore?.Set("publisher", value); } + } +#nullable restore +#else + public string Publisher { + get { return BackingStore?.Get("publisher"); } + set { BackingStore?.Set("publisher", value); } + } +#endif + /// The total impact of startup process on device boot time in milliseconds. Supports: $filter, $select, $OrderBy. Read-only. + public long? TotalImpactInMs { + get { return BackingStore?.Get("totalImpactInMs"); } + set { BackingStore?.Set("totalImpactInMs", value); } + } + /// + /// Creates a new instance of the appropriate class based on discriminator value + /// + /// The parse node to use to read the discriminator value and create the object + public static new UserExperienceAnalyticsDeviceStartupProcessPerformance CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new UserExperienceAnalyticsDeviceStartupProcessPerformance(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"deviceCount", n => { DeviceCount = n.GetLongValue(); } }, + {"medianImpactInMs", n => { MedianImpactInMs = n.GetLongValue(); } }, + {"processName", n => { ProcessName = n.GetStringValue(); } }, + {"productName", n => { ProductName = n.GetStringValue(); } }, + {"publisher", n => { Publisher = n.GetStringValue(); } }, + {"totalImpactInMs", n => { TotalImpactInMs = n.GetLongValue(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteLongValue("deviceCount", DeviceCount); + writer.WriteLongValue("medianImpactInMs", MedianImpactInMs); + writer.WriteStringValue("processName", ProcessName); + writer.WriteStringValue("productName", ProductName); + writer.WriteStringValue("publisher", Publisher); + writer.WriteLongValue("totalImpactInMs", TotalImpactInMs); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse.cs b/src/Microsoft.Graph/Generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse.cs new file mode 100644 index 00000000000..ed0b26df81f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Models/UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse.cs @@ -0,0 +1,49 @@ +// +using Microsoft.Kiota.Abstractions.Serialization; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System; +namespace Microsoft.Graph.Models { + public class UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse : BaseCollectionPaginationCountResponse, IParsable { + /// 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 + /// + /// The parse node to use to read the discriminator value and create the object + public static new UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode) { + _ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); + return new UserExperienceAnalyticsDeviceStartupProcessPerformanceCollectionResponse(); + } + /// + /// The deserialization information for the current model + /// + public new IDictionary> GetFieldDeserializers() { + return new Dictionary>(base.GetFieldDeserializers()) { + {"value", n => { Value = n.GetCollectionOfObjectValues(UserExperienceAnalyticsDeviceStartupProcessPerformance.CreateFromDiscriminatorValue)?.ToList(); } }, + }; + } + /// + /// Serializes information the current object + /// + /// Serialization writer to use to serialize this model + public new void Serialize(ISerializationWriter writer) { + _ = writer ?? throw new ArgumentNullException(nameof(writer)); + base.Serialize(writer); + writer.WriteCollectionOfObjectValues("value", Value); + } + } +} diff --git a/src/Microsoft.Graph/Generated/Models/UserRegistrationDetails.cs b/src/Microsoft.Graph/Generated/Models/UserRegistrationDetails.cs index 7c0856fbdd2..1e96c8c550d 100644 --- a/src/Microsoft.Graph/Generated/Models/UserRegistrationDetails.cs +++ b/src/Microsoft.Graph/Generated/Models/UserRegistrationDetails.cs @@ -79,7 +79,7 @@ public List SystemPreferredAuthenticationMethods { set { BackingStore?.Set("systemPreferredAuthenticationMethods", value); } } #endif - /// The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderBy. + /// The user display name, such as Adele Vance. Supports $filter (eq, startsWith) and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UserDisplayName { @@ -98,7 +98,7 @@ public UserDefaultAuthenticationMethod? UserPreferredMethodForSecondaryAuthentic get { return BackingStore?.Get("userPreferredMethodForSecondaryAuthentication"); } set { BackingStore?.Set("userPreferredMethodForSecondaryAuthentication", value); } } - /// The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderBy. + /// The user principal name, such as AdeleV@contoso.com. Supports $filter (eq, startsWith) and $orderby. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? UserPrincipalName { diff --git a/src/Microsoft.Graph/Generated/Models/WindowsDeviceType.cs b/src/Microsoft.Graph/Generated/Models/WindowsDeviceType.cs index 2ce197fd456..f85843b9ce6 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsDeviceType.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsDeviceType.cs @@ -2,23 +2,26 @@ using System.Runtime.Serialization; using System; namespace Microsoft.Graph.Models { - /// Contains properties for Windows device type. + /// Contains properties for Windows device type. Multiple values can be selected. Default value is `none`. [Flags] public enum WindowsDeviceType { - /// No flags set. + /// No device types supported. Default value. [EnumMember(Value = "none")] None = 1, - /// Whether or not the Desktop Windows device type is supported. + /// Indicates support for Desktop Windows device type. [EnumMember(Value = "desktop")] Desktop = 2, - /// Whether or not the Mobile Windows device type is supported. + /// Indicates support for Mobile Windows device type. [EnumMember(Value = "mobile")] Mobile = 4, - /// Whether or not the Holographic Windows device type is supported. + /// Indicates support for Holographic Windows device type. [EnumMember(Value = "holographic")] Holographic = 8, - /// Whether or not the Team Windows device type is supported. + /// Indicates support for Team Windows device type. [EnumMember(Value = "team")] Team = 16, + /// Evolvable enumeration sentinel value. Do not use. + [EnumMember(Value = "unknownFutureValue")] + UnknownFutureValue = 32, } } diff --git a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppX.cs b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppX.cs index 8f2132c1382..5ddbd4a0f41 100644 --- a/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppX.cs +++ b/src/Microsoft.Graph/Generated/Models/WindowsUniversalAppX.cs @@ -6,7 +6,7 @@ using System; namespace Microsoft.Graph.Models { /// - /// Contains properties and inherited properties for Windows Universal AppX Line Of Business apps. + /// Contains properties and inherited properties for Windows Universal AppX Line Of Business apps. Inherits from `mobileLobApp`. /// public class WindowsUniversalAppX : MobileLobApp, IParsable { /// Contains properties for Windows architecture. @@ -14,7 +14,7 @@ public WindowsArchitecture? ApplicableArchitectures { get { return BackingStore?.Get("applicableArchitectures"); } set { BackingStore?.Set("applicableArchitectures", value); } } - /// Contains properties for Windows device type. + /// Contains properties for Windows device type. Multiple values can be selected. Default value is `none`. public WindowsDeviceType? ApplicableDeviceTypes { get { return BackingStore?.Get("applicableDeviceTypes"); } set { BackingStore?.Set("applicableDeviceTypes", value); } diff --git a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Count/CountRequestBuilder.cs index 117740efbbe..e0941a7bd8b 100644 --- a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.cs index eb1792655f4..1b16a894c8e 100644 --- a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs index 447f99ffa8a..c006f63125a 100644 --- a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes. @@ -88,7 +88,7 @@ public async Task PatchAsync(OAuth2PermissionGrant body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant. diff --git a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs index cdf8b774023..3238dbff989 100644 --- a/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted. @@ -86,7 +86,7 @@ public async Task PostAsync(OAuth2PermissionGrant body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of oAuth2PermissionGrant objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users. diff --git a/src/Microsoft.Graph/Generated/Organization/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Count/CountRequestBuilder.cs index 4965b4d3169..f128145c3e5 100644 --- a/src/Microsoft.Graph/Generated/Organization/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Organization/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Delta/DeltaRequestBuilder.cs index ff8de4c34f0..4725f2fcd5d 100644 --- a/src/Microsoft.Graph/Generated/Organization/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 4fcdcc3a1d0..f598a56d7de 100644 --- a/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Organization/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/GetByIds/GetByIdsRequestBuilder.cs index 8d970974a08..2fca035df37 100644 --- a/src/Microsoft.Graph/Generated/Organization/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs index 3dd139cb9fc..eabd19bdf3e 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BackgroundImage/BackgroundImageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs index e1a735552d6..b1a3510fd79 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BannerLogo/BannerLogoRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs index 41e75bdda18..1f83de0fcad 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/BrandingRequestBuilder.cs @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action /// Retrieve the default organizational branding object, if the Accept-Language header is set to 0 or default. If no default organizational branding object exists, this method returns a 404 Not Found error. If the Accept-Language header is set to an existing locale identified by the value of its id, this method retrieves the branding for the specified locale. This method retrieves only non-Stream properties, for example, usernameHintText and signInPageText. To retrieve Stream types of the default branding, for example, bannerLogo and backgroundImage, use the GET organizationalBrandingLocalization method. @@ -106,7 +106,7 @@ public async Task GetAsync(Action(requestInfo, OrganizationalBranding.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrganizationalBranding.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the default branding object specified by the organizationalBranding resource. @@ -128,7 +128,7 @@ public async Task PatchAsync(OrganizationalBranding body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBranding.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrganizationalBranding.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the default organizational branding object. To delete the organizationalBranding object, all images (Stream types) must first be removed from the object. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs index 5cc38f87fd3..e357f3a05ce 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/CustomCSS/CustomCSSRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs index 778b9b4d5bb..78b3270f0af 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Favicon/FaviconRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs index 457c73f2e33..dc5e7e9fd3b 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/HeaderLogo/HeaderLogoRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Count/CountRequestBuilder.cs index 1901dfa8376..a1565be7614 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs index ff580a62f6b..8d2e94ad670 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BackgroundImage/BackgroundImageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs index e939586d879..4c7f8a8801b 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/BannerLogo/BannerLogoRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs index 0d4cfa55bb4..a128557ef34 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/CustomCSS/CustomCSSRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// CSS styling that appears on the sign-in page. The allowed format is .css format only and not larger than 25 KB. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs index 5a04397524d..70768e621f2 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/Favicon/FaviconRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A custom icon (favicon) to replace a default Microsoft product favicon on an Azure AD tenant. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs index 91cb86cc225..0fa78141546 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/HeaderLogo/HeaderLogoRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A company logo that appears in the header of the sign-in page. The allowed types are PNG or JPEG not larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs index dccd305913b..b617af4a84a 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/OrganizationalBrandingLocalizationItemRequestBuilder.cs @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an organizationalBrandingLocalization object. To retrieve a localization branding object, specify the value of id in the URL. @@ -101,7 +101,7 @@ public async Task GetAsync(Action(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an organizationalBrandingLocalization object for a specific localization. @@ -123,7 +123,7 @@ public async Task PatchAsync(OrganizationalB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a localized branding object. To delete the organizationalBrandingLocalization object, all images (Stream types) must first be removed from the object. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs index 00ac181c307..07bd6d74425 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogo/SquareLogoRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs index 9ba1ba5d34e..e2cfec8c04b 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/Item/SquareLogoDark/SquareLogoDarkRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.cs index 315ee89d123..083d5a7dbd7 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/Localizations/LocalizationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new organizationalBrandingLocalization object. This creates a localized branding and at the same time, the default branding if it doesn't exist. The default branding is created only once. It's loaded when a localized branding isn't configured for the user's browser language. To retrieve the default branding, see Get branding. @@ -81,7 +81,7 @@ public async Task PostAsync(OrganizationalBr {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrganizationalBrandingLocalization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve all localization branding objects, including the default branding. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs index 11dc6d2924e..a95dc9a2c41 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogo/SquareLogoRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs index 1c7f07206f6..bc3bec1c7c3 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Branding/SquareLogoDark/SquareLogoDarkRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A square dark version of your company logo that appears in Windows 10 out-of-box experiences (OOBE) and when Windows Autopilot is enabled for deployment. Allowed types are PNG or JPEG not larger than 240 x 240 pixels and not more than 10 KB in size. We recommend using a transparent image with no padding around the logo. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs index e0c3ca17717..2e99e54e17a 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/CertificateBasedAuthConfigurationRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CertificateBasedAuthConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CertificateBasedAuthConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new certificateBasedAuthConfiguration object. @@ -81,7 +81,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of certificateBasedAuthConfiguration objects. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs index be3f854df8d..08a01f7c4f1 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs index ed338c23c7a..37fb0956761 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/CertificateBasedAuthConfiguration/Item/CertificateBasedAuthConfigurationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties of a certificateBasedAuthConfiguration object. @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CertificateBasedAuthConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a certificateBasedAuthConfiguration object. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 638b792be11..3adcf2ffd42 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index fdfd1645517..1c5f855738e 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Count/CountRequestBuilder.cs index 66a7e4e117b..1d4cf2b3841 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.cs index ceeb6a12f3a..8988048ef17 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for organization @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the organization. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index c8d70f7baec..fdecb5e9fee 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the organization. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in organization @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for organization diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 2161941bee2..4369827a44f 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 52d7a8c5e52..518738054f8 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs index e3237580dd6..ecdc0360708 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/OrganizationItemRequestBuilder.cs @@ -90,11 +90,11 @@ public async Task DeleteAsync(Action - /// Read properties and relationships of the organization object. - /// Find more info here + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -110,11 +110,11 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a organization object. - /// Find more info here + /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -132,7 +132,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from organization @@ -159,7 +159,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Read properties and relationships of the organization object. + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -185,7 +185,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a organization object. + /// Update the properties of the currently authenticated organization. In this case, organization is defined as a collection of exactly one record, and so its ID must be specified in the request. The ID is also known as the tenantId of the organization. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -236,7 +236,7 @@ public OrganizationItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Read properties and relationships of the organization object. + /// Get the properties and relationships of the currently authenticated organization. Since the organization resource supports extensions, you can also use the GET operation to get custom properties and extension data in an organization instance. /// public class OrganizationItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs index 32a25ad9b3e..a336f6b8624 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.cs index c91143e0c7e..52296a866cf 100644 --- a/src/Microsoft.Graph/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/Item/SetMobileDeviceManagementAuthority/SetMobileDeviceManagementAuthorityRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, SetMobileDeviceManagementAuthorityResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetMobileDeviceManagementAuthorityResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Set mobile device management authority diff --git a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs index 0ec2a2a1aa4..62e96d957c0 100644 --- a/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/OrganizationRequestBuilder.cs @@ -62,8 +62,8 @@ public OrganizationRequestBuilder(Dictionary pathParameters, IRe public OrganizationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/organization{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List properties and relationships of the organization objects. - /// Find more info here + /// Retrieve a list of organization objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, OrganizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrganizationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to organization @@ -100,10 +100,10 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Organization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -164,7 +164,7 @@ public OrganizationRequestBuilder WithUrl(string rawUrl) { return new OrganizationRequestBuilder(rawUrl, RequestAdapter); } /// - /// List properties and relationships of the organization objects. + /// Retrieve a list of organization objects. /// public class OrganizationRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 8c937fdc067..df499479772 100644 --- a/src/Microsoft.Graph/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Organization/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Delta/DeltaRequestBuilder.cs index c63a88fa982..f26399fecff 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 0066c3b9693..69a5f00edc9 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index 476812c17d6..54e46a72b81 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 2b396a540c9..67651050dd5 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 3c93fdb5cb6..41431c0126c 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 76dc6850b5d..9107a042ade 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 2a731e382d0..e57bb29431f 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 21165834129..1903dfb3275 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get entity from permissionGrants by key @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in permissionGrants @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from permissionGrants diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 11a934f7f69..61b77fd0bf7 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/PermissionGrantsRequestBuilder.cs index c06416e1eb3..1751eac6de7 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -73,7 +73,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to permissionGrants @@ -94,7 +94,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from permissionGrants diff --git a/src/Microsoft.Graph/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 47584158dba..9f317252e93 100644 --- a/src/Microsoft.Graph/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Places/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Count/CountRequestBuilder.cs index b0208df9d5d..bcaeb862fcd 100644 --- a/src/Microsoft.Graph/Generated/Places/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Places/GraphRoom/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphRoom/Count/CountRequestBuilder.cs index a51f09b4c36..6e149984e5f 100644 --- a/src/Microsoft.Graph/Generated/Places/GraphRoom/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/GraphRoom/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Places/GraphRoom/GraphRoomRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphRoom/GraphRoomRequestBuilder.cs index 35cceb93708..3952fceb733 100644 --- a/src/Microsoft.Graph/Generated/Places/GraphRoom/GraphRoomRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/GraphRoom/GraphRoomRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, RoomCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoomCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.room in the microsoft.graph.place collection diff --git a/src/Microsoft.Graph/Generated/Places/GraphRoomList/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphRoomList/Count/CountRequestBuilder.cs index 527860a7d2b..e819e8ed618 100644 --- a/src/Microsoft.Graph/Generated/Places/GraphRoomList/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/GraphRoomList/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs index 375a9022ff6..9ba1ef7246e 100644 --- a/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/GraphRoomList/GraphRoomListRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, RoomListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoomListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.roomList in the microsoft.graph.place collection diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.cs index 56e80443104..e3060114612 100644 --- a/src/Microsoft.Graph/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoom/GraphRoomRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Room.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Room.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.place as microsoft.graph.room diff --git a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs index 942b0575e7b..a5cf9970558 100644 --- a/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/Item/GraphRoomList/GraphRoomListRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, RoomList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RoomList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.place as microsoft.graph.roomList diff --git a/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs index a1b62193921..88da4ac6ff1 100644 --- a/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Places/Item/PlaceItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. @@ -77,7 +77,7 @@ public async Task PatchAsync(Place body, Action(requestInfo, Place.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Place.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from places diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/BucketsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/BucketsRequestBuilder.cs index fc53e114133..9863f96ddaf 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/BucketsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/BucketsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new plannerBucket object. @@ -81,7 +81,7 @@ public async Task PostAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerbucket objects. diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Count/CountRequestBuilder.cs index 601cc9505a6..801a4113009 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.cs index 20c71375120..3e7280f8aeb 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/PlannerBucketItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerBucket object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property buckets in planner @@ -93,7 +93,7 @@ public async Task PatchAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete plannerBucket. diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Count/CountRequestBuilder.cs index 9c3a6ec4ad9..b63d5d51cbc 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 33de50bed2e..4628b425a8b 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 670cccefa1a..7906ec02d96 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 9f9cdcac229..307d7f52dec 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 6e95895581d..f02e668238f 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. The collection of tasks in the bucket. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in planner @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 44554195e1a..51a128f0a24 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.cs index e139969e3ee..97e0a656fd5 100644 --- a/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Buckets/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for planner @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated to a plannerBucket object. diff --git a/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs index 254709d5ee5..f8579f1ec5f 100644 --- a/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/PlannerRequestBuilder.cs @@ -60,7 +60,7 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Planner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Planner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update planner @@ -81,7 +81,7 @@ public PlannerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Planner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Planner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Count/CountRequestBuilder.cs index 8c5184a6a63..da948b5c47e 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs index ff911c8ebb4..8ba46b9fcf2 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to buckets for planner @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerBucket objects contained by a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs index 81973aedc97..71d1680ab07 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs index b20abdd0ca1..3dec041c15f 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of buckets in the plan. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property buckets in planner @@ -90,7 +90,7 @@ public async Task PatchAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property buckets for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs index b1c7a977fc6..bee69366813 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 0943c6beec2..08c7a7888d2 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index b54b5c10fc4..98c7bf4a1e2 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index baec51787f1..adf04afb874 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 92b08bbe6ef..8730c0b1eb5 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. The collection of tasks in the bucket. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in planner @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 7774817084d..b11a2395547 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs index 714d8833409..1dae4a17dd0 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for planner @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated to a plannerBucket object. diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.cs index b180147c280..7b9ff079567 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerPlanDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerPlanDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 2b04173e141..5164ac42ff7 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerplan object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a plannerPlan object. @@ -103,7 +103,7 @@ public async Task PatchAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs index 3bff075dabe..6eea0babc23 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 0265d67adc6..db64789fc6d 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 2f1f14b4856..f4ace3f3722 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index 88eab09e523..a4f2a63b77b 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 64d2c734e9b..5d720d9451c 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of tasks in the plan. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in planner @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 0d3657d3fc3..de6cdd0200f 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs index 7cf3c05be15..139636db20b 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for planner @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated with a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Planner/Plans/PlansRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Plans/PlansRequestBuilder.cs index 99a8c65ca42..f5464875a85 100644 --- a/src/Microsoft.Graph/Generated/Planner/Plans/PlansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Plans/PlansRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new plannerPlan. @@ -81,7 +81,7 @@ public async Task PostAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of plannerPlan objects. diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Count/CountRequestBuilder.cs index b2d4baa449c..23163feeadc 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index f471f244f78..3fbf12e9649 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 56f07f6c35f..2e4c01d82af 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs index 332617dac52..940173cc5ce 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 3f28a20553f..e780c20470a 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerTask object. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in planner @@ -108,7 +108,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a plannerTask object. diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index aaefde31b69..63c6d007730 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in planner @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for planner diff --git a/src/Microsoft.Graph/Generated/Planner/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Planner/Tasks/TasksRequestBuilder.cs index bb97d046831..a4c048cc4d7 100644 --- a/src/Microsoft.Graph/Generated/Planner/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Planner/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new plannerTask. @@ -81,7 +81,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannertask objects. diff --git a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.cs index cfa42afa719..d084b6f9d2a 100644 --- a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/ActivityBasedTimeoutPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ActivityBasedTimeoutPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityBasedTimeoutPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new activityBasedTimeoutPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(ActivityBasedTimeoutPoli {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of activityBasedTimeoutPolicy objects. diff --git a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Count/CountRequestBuilder.cs index dd30d512b6b..14fb72aa2d8 100644 --- a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.cs index 37d941f693f..eefc1b48b0b 100644 --- a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/ActivityBasedTimeoutPolicyItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get the properties of an activityBasedTimeoutPolicy object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an activityBasedTimeoutPolicy object. @@ -93,7 +93,7 @@ public async Task PatchAsync(ActivityBasedTimeoutPol {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityBasedTimeoutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an activityBasedTimeoutPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs index a409e419ab1..cc708468283 100644 --- a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs index f7a9de21e08..afff6830ae7 100644 --- a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs index 8377c4b2965..1e89423aae9 100644 --- a/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ActivityBasedTimeoutPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.cs index 27c417b1d09..53d60408379 100644 --- a/src/Microsoft.Graph/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AdminConsentRequestPolicy/AdminConsentRequestPolicyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an adminConsentRequestPolicy object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AdminConsentRequestPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdminConsentRequestPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an adminConsentRequestPolicy object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AdminConsentRequestPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdminConsentRequestPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property adminConsentRequestPolicy for policies diff --git a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs index aebbc3df39f..54f1cb84885 100644 --- a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AppManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an appManagementPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(AppManagementPolicy body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of appManagementPolicy objects. diff --git a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Count/CountRequestBuilder.cs index 6d09e6372e4..c1e8e9e2233 100644 --- a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs index f1b7535a13d..39c61defd5f 100644 --- a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties of an appManagementPolicy object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an appManagementPolicy object. @@ -93,7 +93,7 @@ public async Task PatchAsync(AppManagementPolicy body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an appManagementPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs index 633cb7dbc49..91c69eddddd 100644 --- a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs @@ -43,7 +43,7 @@ public AppliesToRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : } /// /// List application and service principal objects that are assigned an appManagementPolicy policy object. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List application and service principal objects that are assigned an appManagementPolicy policy object. diff --git a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs index 3e1012488fc..379dbcc5d0d 100644 --- a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs index 8db4c0d163d..6dfda569108 100644 --- a/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AppManagementPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Collection of applications and service principals to which the policy is applied. diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.cs index 4793e855c4b..20b72642b9f 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationFlowsPolicy/AuthenticationFlowsPolicyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an authenticationFlowsPolicy object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AuthenticationFlowsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationFlowsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the selfServiceSignUp property of an authenticationFlowsPolicy object. The properties id, type, and description cannot be modified. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AuthenticationFlowsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationFlowsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authenticationFlowsPolicy for policies diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs index f92758242bc..d2130784689 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/AuthenticationMethodConfigurationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to authenticationMethodConfigurations for policies @@ -79,7 +79,7 @@ public async Task PostAsync(AuthenticationMet {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs index a0694a4f749..da2b117f3d5 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs index 009f4cdca4d..ca43d0b71b7 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodConfigurations/Item/AuthenticationMethodConfigurationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Represents the settings for each authentication method. Automatically expanded on GET /policies/authenticationMethodsPolicy. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property authenticationMethodConfigurations in policies @@ -85,7 +85,7 @@ public async Task PatchAsync(AuthenticationMe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authenticationMethodConfigurations for policies diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs index 230448ec557..795071fd339 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationMethodsPolicy/AuthenticationMethodsPolicyRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an authenticationMethodsPolicy object. @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an authenticationMethodsPolicy object. @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthenticationMethodsPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authenticationMethodsPolicy for policies diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.cs index 49e9602a23f..e6adfd3b30f 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/AuthenticationStrengthPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new custom authenticationStrengthPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(AuthenticationStrength {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the authenticationStrengthPolicy objects and their properties. This API returns both built-in and custom policies. diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Count/CountRequestBuilder.cs index f83d4b7a06b..0e621f0c8cf 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs index 8888669ebf1..df69ba1634a 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/AuthenticationStrengthPolicyItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an authenticationStrengthPolicy object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an authenticationStrengthPolicy object. You cannot update the allowed auth method combinations using this request. To do so, use the Update allowed combinations action. @@ -103,7 +103,7 @@ public async Task PatchAsync(AuthenticationStrengt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a custom authenticationStrengthPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs index 7689bde9ce5..331280a2373 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/CombinationConfigurationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfigurationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be created, and these may only be created for custom authentication strength policies. @@ -81,7 +81,7 @@ public async Task PostAsync(Authenticati {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the authenticationCombinationConfiguration objects for an authentication strength policy. authenticationCombinationConfiguration represents requirements placed on specific authentication method combinations that require specified variants of those authentication methods to be used when authenticating. Currently, only fido2combinationConfigurations objects are supported. authenticationCombinationConfiguration objects are supported only for custom authentication strengths. diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs index b3d373b5e78..0b2ac05ec92 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs index 0910d5cbb6f..f0eec7feb4c 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/CombinationConfigurations/Item/AuthenticationCombinationConfigurationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an authenticationCombinationConfiguration object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an authenticationCombinationConfiguration object. In use, only fido2combinationConfigurations may be updated as they are the only type of authenticationCombinationConfiguration that may be created. @@ -88,7 +88,7 @@ public async Task PatchAsync(Authenticat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationCombinationConfiguration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an authenticationCombinationConfiguration for a custom authenticationStrengthPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs index fdb887c9b9d..a6950aa7a5e 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/UpdateAllowedCombinations/UpdateAllowedCombinationsRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(UpdateAllowedCombin {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UpdateAllowedCombinationsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UpdateAllowedCombinationsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the allowedCombinations property of an authenticationStrengthPolicy object. To update other properties of an authenticationStrengthPolicy object, use the Update authenticationStrengthPolicy method. diff --git a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs index cb04dab5e3e..8b4d12f428c 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthenticationStrengthPolicies/Item/Usage/UsageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationStrengthUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationStrengthUsage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usage diff --git a/src/Microsoft.Graph/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.cs index ac97f28fb85..bb0f1091170 100644 --- a/src/Microsoft.Graph/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/AuthorizationPolicy/AuthorizationPolicyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of an authorizationPolicy object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AuthorizationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthorizationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an authorizationPolicy object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AuthorizationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AuthorizationPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authorizationPolicy for policies diff --git a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs index 43649de6761..cf31ab63ba1 100644 --- a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ClaimsMappingPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ClaimsMappingPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new claimsMappingPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(ClaimsMappingPolicy body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ClaimsMappingPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ClaimsMappingPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of claimsMappingPolicy objects. diff --git a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Count/CountRequestBuilder.cs index 665165e0bc0..7d7f1016b52 100644 --- a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs index 08841b73f9b..947b65ff507 100644 --- a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs index c7458775f1e..f77a30f6118 100644 --- a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs index 7fe71ac8409..8cdc1ecf54b 100644 --- a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.cs index 95a71470ed9..219fe52e873 100644 --- a/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ClaimsMappingPolicies/Item/ClaimsMappingPolicyItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a claimsMappingPolicy object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ClaimsMappingPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ClaimsMappingPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a claimsMappingPolicy object. @@ -93,7 +93,7 @@ public async Task PatchAsync(ClaimsMappingPolicy body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ClaimsMappingPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ClaimsMappingPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a claimsMappingPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.cs index 57d4d9c51b7..cfdb7e5aa5e 100644 --- a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/ConditionalAccessPoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ConditionalAccessPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to conditionalAccessPolicies for policies @@ -79,7 +79,7 @@ public async Task PostAsync(ConditionalAccessPolicy bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The custom rules that define an access scenario. diff --git a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.cs index e362293bb31..28a29698637 100644 --- a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.cs index 2764d66ee6e..7bc0df46893 100644 --- a/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/ConditionalAccessPolicies/Item/ConditionalAccessPolicyItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The custom rules that define an access scenario. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property conditionalAccessPolicies in policies @@ -85,7 +85,7 @@ public async Task PatchAsync(ConditionalAccessPolicy bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConditionalAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property conditionalAccessPolicies for policies diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.cs index 4705420387b..655705586c5 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/CrossTenantAccessPolicyRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a crossTenantAccessPolicy object. @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.CrossTenantAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CrossTenantAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a cross-tenant access policy. @@ -97,7 +97,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.CrossTenantAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.CrossTenantAccessPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property crossTenantAccessPolicy for policies diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/DefaultRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/DefaultRequestBuilder.cs index 9bb7e6b26ab..232e79a7502 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/DefaultRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/DefaultRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the default configuration of a cross-tenant access policy. This default configuration may be the service default assigned by Azure AD (isServiceDefault is true) or may be customized in your tenant (isServiceDefault is false). @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, CrossTenantAccessPolicyConfigurationDefault.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationDefault.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the default configuration of a cross-tenant access policy. @@ -92,7 +92,7 @@ public async Task PatchAsync(CrossT {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationDefault.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationDefault.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property default for policies diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.cs index b7b3407d223..e1941ba4497 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Default/ResetToSystemDefault/ResetToSystemDefaultRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reset any changes made to the default configuration in a cross-tenant access policy back to the system default. diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Count/CountRequestBuilder.cs index f5c5baad7e9..251d8c7a7c3 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs index d02d3d99db2..26284bc3bd6 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/CrossTenantAccessPolicyConfigurationPartnerTenantItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a partner-specific configuration. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a partner-specific configuration. @@ -93,7 +93,7 @@ public async Task PatchAsync(CrossT {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a partner-specific configuration in a cross-tenant access policy. If a configuration includes a user synchronization policy, you must first delete the user synchronization policy before you can delete the partner-specific configuration. diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs index 2f0cd352c05..ab5c8d8916e 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/Item/IdentitySynchronization/IdentitySynchronizationRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the user synchronization policy of a partner-specific configuration. @@ -66,29 +66,28 @@ public async Task GetAsync(Action(requestInfo, CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. - /// Find more info here + /// Update the navigation property identitySynchronization in policies /// /// The request body /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable - public async Task PatchAsync(CrossTenantIdentitySyncPolicyPartner body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(CrossTenantIdentitySyncPolicyPartner body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { #nullable restore #else - public async Task PatchAsync(CrossTenantIdentitySyncPolicyPartner body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { + public async Task PutAsync(CrossTenantIdentitySyncPolicyPartner body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); - var requestInfo = ToPatchRequestInformation(body, requestConfiguration); + var requestInfo = ToPutRequestInformation(body, requestConfiguration); var errorMapping = new Dictionary> { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantIdentitySyncPolicyPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the user synchronization policy for a partner-specific configuration. @@ -141,27 +140,27 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a cross-tenant user synchronization policy for a partner-specific configuration. + /// Update the navigation property identitySynchronization in policies /// /// 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(CrossTenantIdentitySyncPolicyPartner body, Action? requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(CrossTenantIdentitySyncPolicyPartner body, Action? requestConfiguration = default) { #nullable restore #else - public RequestInformation ToPatchRequestInformation(CrossTenantIdentitySyncPolicyPartner body, Action requestConfiguration = default) { + public RequestInformation ToPutRequestInformation(CrossTenantIdentitySyncPolicyPartner body, Action requestConfiguration = default) { #endif _ = body ?? throw new ArgumentNullException(nameof(body)); var requestInfo = new RequestInformation { - HttpMethod = Method.PATCH, + HttpMethod = Method.PUT, UrlTemplate = UrlTemplate, PathParameters = PathParameters, }; requestInfo.Headers.Add("Accept", "application/json"); requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); if (requestConfiguration != null) { - var requestConfig = new IdentitySynchronizationRequestBuilderPatchRequestConfiguration(); + var requestConfig = new IdentitySynchronizationRequestBuilderPutRequestConfiguration(); requestConfiguration.Invoke(requestConfig); requestInfo.AddRequestOptions(requestConfig.Options); requestInfo.AddHeaders(requestConfig.Headers); @@ -237,15 +236,15 @@ public IdentitySynchronizationRequestBuilderGetRequestConfiguration() { /// /// Configuration for the request such as headers, query parameters, and middleware options. /// - public class IdentitySynchronizationRequestBuilderPatchRequestConfiguration { + public class IdentitySynchronizationRequestBuilderPutRequestConfiguration { /// Request headers public RequestHeaders Headers { get; set; } /// Request options public IList Options { get; set; } /// - /// Instantiates a new identitySynchronizationRequestBuilderPatchRequestConfiguration and sets the default values. + /// Instantiates a new identitySynchronizationRequestBuilderPutRequestConfiguration and sets the default values. /// - public IdentitySynchronizationRequestBuilderPatchRequestConfiguration() { + public IdentitySynchronizationRequestBuilderPutRequestConfiguration() { Options = new List(); Headers = new RequestHeaders(); } diff --git a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.cs index b3d1c717641..25c161621d9 100644 --- a/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/CrossTenantAccessPolicy/Partners/PartnersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationPartnerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new partner configuration in a cross-tenant access policy. @@ -81,7 +81,7 @@ public async Task PostAsync(CrossTe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CrossTenantAccessPolicyConfigurationPartner.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of all partner configurations within a cross-tenant access policy. You can also use the $expand parameter to list the user synchronization policy for all partner configurations. diff --git a/src/Microsoft.Graph/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.cs index c5e8eb13a44..d2ae8f439d4 100644 --- a/src/Microsoft.Graph/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/DefaultAppManagementPolicy/DefaultAppManagementPolicyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties of a tenantAppManagementPolicy object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, TenantAppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TenantAppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a tenantAppManagementPolicy object. @@ -87,7 +87,7 @@ public async Task PatchAsync(TenantAppManagementPolic {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TenantAppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TenantAppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property defaultAppManagementPolicy for policies diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Count/CountRequestBuilder.cs index b2a25a90d4e..3ef33396ad3 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.cs index 5cba9c7b6e8..df16088c258 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/FeatureRolloutPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, FeatureRolloutPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FeatureRolloutPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new featureRolloutPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(FeatureRolloutPolicy body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FeatureRolloutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FeatureRolloutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of featureRolloutPolicy objects. diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs index 6b44647532b..93e68f26354 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs @@ -83,7 +83,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. @@ -105,7 +105,7 @@ public async Task PostAsync(DirectoryObject body, Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Nullable. Specifies a list of directoryObjects that feature is enabled for. diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs index 93b0a1c7845..f0bd3d60a3c 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Delta/DeltaRequestBuilder.cs index 30b8a9ec865..610719fb378 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index ad2ee491de3..9730f889502 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetByIds/GetByIdsRequestBuilder.cs index c9beb7f3bdb..9eabde74f9f 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.cs index 4797844e2a5..dcbc76ba766 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout. diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs index 40a36900227..c8c9929a58c 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied. @@ -67,7 +67,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Nullable. Specifies a list of directoryObjects that feature is enabled for. diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/ValidateProperties/ValidatePropertiesRequestBuilder.cs index d48a588ff84..e0987f19bf1 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/AppliesTo/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.cs index 0be65e287b4..ce6c9733d5c 100644 --- a/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/FeatureRolloutPolicies/Item/FeatureRolloutPolicyItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a featureRolloutPolicy object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, FeatureRolloutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FeatureRolloutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of featureRolloutPolicy object. @@ -93,7 +93,7 @@ public async Task PatchAsync(FeatureRolloutPolicy body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FeatureRolloutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FeatureRolloutPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a featureRolloutPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs index 9b372225208..0cade3978db 100644 --- a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs index c71b3893386..d7c9e29a377 100644 --- a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, HomeRealmDiscoveryPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new homeRealmDiscoveryPolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(HomeRealmDiscoveryPolicy b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of homeRealmDiscoveryPolicy objects. diff --git a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs index a362793a7f1..6b999cf8579 100644 --- a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/AppliesToRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs index cdb237e9490..c87eae54f81 100644 --- a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs index e53e9c4d86d..46385b9f004 100644 --- a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs index d6227f19f2e..0dd836f0e64 100644 --- a/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/HomeRealmDiscoveryPolicies/Item/HomeRealmDiscoveryPolicyItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a homeRealmDiscoveryPolicy object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a homeRealmDiscoveryPolicy object. @@ -93,7 +93,7 @@ public async Task PatchAsync(HomeRealmDiscoveryPolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a homeRealmDiscoveryPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.cs index 958c20c00dc..3d48df0aa86 100644 --- a/src/Microsoft.Graph/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/IdentitySecurityDefaultsEnforcementPolicy/IdentitySecurityDefaultsEnforcementPolicyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties of an identitySecurityDefaultsEnforcementPolicy object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an identitySecurityDefaultsEnforcementPolicy object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.IdentitySecurityDefaultsEnforcementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property identitySecurityDefaultsEnforcementPolicy for policies diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Count/CountRequestBuilder.cs index ff7f21cc79a..cb04d8d9562 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Count/CountRequestBuilder.cs index c8b6e2ca39a..5f14d364d00 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.cs index 4ab6e53dd91..1ea2c0da1bc 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/ExcludesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add conditions under which a permission grant event is *excluded* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the excludes collection of a permissionGrantPolicy. @@ -81,7 +81,7 @@ public async Task PostAsync(PermissionGrantConditio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the condition sets which are *excluded* in a permissionGrantPolicy. diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.cs index 8d07600b617..78c9509f4f7 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Excludes/Item/PermissionGrantConditionSetItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Condition sets which are excluded in this permission grant policy. Automatically expanded on GET. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property excludes in policies @@ -86,7 +86,7 @@ public async Task PatchAsync(PermissionGrantConditi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a permissionGrantConditionSet from the excludes collection of a permissionGrantPolicy. diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Count/CountRequestBuilder.cs index b9ee84bc8a9..30376ee7b6e 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.cs index 4781cb18c65..83f3cdbdfb2 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/IncludesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add conditions under which a permission grant event is *included* in a permission grant policy. You do this by adding a permissionGrantConditionSet to the includes collection of a permissionGrantPolicy. @@ -81,7 +81,7 @@ public async Task PostAsync(PermissionGrantConditio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the condition sets which are *included* in a permissionGrantPolicy. diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.cs index bcc0560675c..4b506c78aba 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/Includes/Item/PermissionGrantConditionSetItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Condition sets which are included in this permission grant policy. Automatically expanded on GET. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property includes in policies @@ -86,7 +86,7 @@ public async Task PatchAsync(PermissionGrantConditi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantConditionSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a permissionGrantConditionSet from the includes collection of a permissionGrantPolicy. diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.cs index dbaedf9dcbc..9b2315d4758 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/Item/PermissionGrantPolicyItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Retrieve a single permissionGrantPolicy object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, PermissionGrantPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update properties of a permissionGrantPolicy. @@ -98,7 +98,7 @@ public async Task PatchAsync(PermissionGrantPolicy body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a permissionGrantPolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.cs index 60f71aa0fdc..5f3a438411a 100644 --- a/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PermissionGrantPolicies/PermissionGrantPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PermissionGrantPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Creates a permissionGrantPolicy. A permission grant policy is used to describe the conditions under which permissions can be granted (for example, during application consent). After creating the permission grant policy, you can add include condition sets to add matching rules, and add exclude condition sets to add exclusion rules. @@ -81,7 +81,7 @@ public async Task PostAsync(PermissionGrantPolicy body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PermissionGrantPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionGrantPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of permissionGrantPolicy objects. diff --git a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs index 92398ecebd5..8e1db3a92cb 100644 --- a/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/PoliciesRequestBuilder.cs @@ -140,7 +140,7 @@ public async Task GetAsync(Action(requestInfo, PolicyRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PolicyRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update policies @@ -161,7 +161,7 @@ public async Task PatchAsync(PolicyRoot body, Action(requestInfo, PolicyRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PolicyRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get policies diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Count/CountRequestBuilder.cs index 76868d868d3..57b81023358 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Count/CountRequestBuilder.cs index 8ba3dc3db84..6908def7211 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.cs index 6db0b7cd4ba..eef2c67c1e5 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/EffectiveRulesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to effectiveRules for policies @@ -79,7 +79,7 @@ public async Task PostAsync(UnifiedRoleManageme {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs index d74bd5f7ba5..143cefc33ef 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/EffectiveRules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The list of effective rules like approval rules and expiration rules evaluated based on inherited referenced rules. For example, if there is a tenant-wide policy to enforce enabling an approval rule, the effective rule will be to enable approval even if the policy has a rule to disable approval. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property effectiveRules in policies @@ -85,7 +85,7 @@ public async Task PatchAsync(UnifiedRoleManagem {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property effectiveRules for policies diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Count/CountRequestBuilder.cs index 37104d5104a..538070653ae 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs index 4aff1ac73a4..b595852b382 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/Item/UnifiedRoleManagementPolicyRuleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a rule or settings defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Azure AD roles and examples of updating rules, see the following articles: @@ -87,7 +87,7 @@ public async Task PatchAsync(UnifiedRoleManagem {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property rules for policies diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs index 530552b4af8..e3c141d1836 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/Rules/RulesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to rules for policies @@ -80,7 +80,7 @@ public async Task PostAsync(UnifiedRoleManageme {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the rules or settings defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object:+ unifiedRoleManagementPolicyApprovalRule+ unifiedRoleManagementPolicyAuthenticationContextRule+ unifiedRoleManagementPolicyEnablementRule+ unifiedRoleManagementPolicyExpirationRule+ unifiedRoleManagementPolicyNotificationRule diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.cs index dc226253190..0de4e8c2b2b 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/Item/UnifiedRoleManagementPolicyItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the details of a role management policy. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleManagementPolicies in policies @@ -96,7 +96,7 @@ public async Task PatchAsync(UnifiedRoleManagementP {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleManagementPolicies for policies diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.cs index 7dc25a55a8e..6354b22b1f6 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicies/RoleManagementPoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleManagementPolicies for policies @@ -80,7 +80,7 @@ public async Task PostAsync(UnifiedRoleManagementPo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get role management policies and their details. diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Count/CountRequestBuilder.cs index 244a52e7fcc..9e914d811fa 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.cs index 370bd7ad847..10af0b6f910 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/Policy/PolicyRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The policy that's associated with a policy assignment. Supports $expand and a nested $expand of the rules and effectiveRules relationships for the policy. diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.cs index b2e00153549..ef7588ba045 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/Item/UnifiedRoleManagementPolicyAssignmentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get the details of a role management policy assignment including the policy and rules associated with the Azure AD role. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleManagementPolicyAssignments in policies @@ -91,7 +91,7 @@ public async Task PatchAsync(UnifiedRoleM {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleManagementPolicyAssignments for policies diff --git a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs index 7e264ce8f53..e25a4b8edc3 100644 --- a/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/RoleManagementPolicyAssignments/RoleManagementPolicyAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleManagementPolicyAssignments for policies @@ -80,7 +80,7 @@ public async Task PostAsync(UnifiedRoleMa {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleManagementPolicyAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the details of all role management policy assignments including the policies and rules associated with the Azure AD roles. diff --git a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Count/CountRequestBuilder.cs index 9508144629e..301641862e6 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs index 15d0636ce32..da831357acf 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs index 81e8b24fe0a..8d878bbf208 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs index 73e1cd2e229..57b0cf46d06 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs index 5806a77dbfd..14cbd05be51 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// The policy that specifies the characteristics of SAML tokens issued by Azure AD. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a tokenIssuancePolicy object. @@ -92,7 +92,7 @@ public async Task PatchAsync(TokenIssuancePolicy body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a tokenIssuancePolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs index 3c210edfc68..d8ea8aa9fc3 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TokenIssuancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new tokenIssuancePolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(TokenIssuancePolicy body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of tokenIssuancePolicy objects. diff --git a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Count/CountRequestBuilder.cs index 44a8283b06f..ebe89869d0b 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs index 1911d84972e..75eef894c92 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/AppliesToRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs index d9582b0e988..36cadf858b2 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs index 7e60a728765..a6d6a67a85e 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/AppliesTo/Item/DirectoryObjectItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get appliesTo from policies diff --git a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs index 929026e4cee..27f7b84816b 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a tokenLifetimePolicy object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a tokenLifetimePolicy object. @@ -93,7 +93,7 @@ public async Task PatchAsync(TokenLifetimePolicy body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a tokenLifetimePolicy object. diff --git a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs index 8412d053ba3..e7e30343eb4 100644 --- a/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Policies/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TokenLifetimePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new tokenLifetimePolicy object. @@ -81,7 +81,7 @@ public async Task PostAsync(TokenLifetimePolicy body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of tokenLifetimePolicy objects. diff --git a/src/Microsoft.Graph/Generated/Print/Connectors/ConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Connectors/ConnectorsRequestBuilder.cs index d095e980b86..847ec60e921 100644 --- a/src/Microsoft.Graph/Generated/Print/Connectors/ConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Connectors/ConnectorsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to connectors for print @@ -80,7 +80,7 @@ public async Task PostAsync(PrintConnector body, Action(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of print connectors. diff --git a/src/Microsoft.Graph/Generated/Print/Connectors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Connectors/Count/CountRequestBuilder.cs index 7788a241559..4f9ac7a54fe 100644 --- a/src/Microsoft.Graph/Generated/Print/Connectors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Connectors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs index 0da83c1a6df..4d19640994a 100644 --- a/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Connectors/Item/PrintConnectorItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a printConnector object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a printConnector object. @@ -88,7 +88,7 @@ public async Task PatchAsync(PrintConnector body, Action(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete (unregister) a printConnector. diff --git a/src/Microsoft.Graph/Generated/Print/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Operations/Count/CountRequestBuilder.cs index ed9a6826b0a..e17e0faeba6 100644 --- a/src/Microsoft.Graph/Generated/Print/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Operations/Item/PrintOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Operations/Item/PrintOperationItemRequestBuilder.cs index ac55a34ef8d..0574650b413 100644 --- a/src/Microsoft.Graph/Generated/Print/Operations/Item/PrintOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Operations/Item/PrintOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a printOperation object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PrintOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in print @@ -86,7 +86,7 @@ public async Task PatchAsync(PrintOperation body, Action(requestInfo, PrintOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for print diff --git a/src/Microsoft.Graph/Generated/Print/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Operations/OperationsRequestBuilder.cs index 3b3886e72d0..f9b404344e0 100644 --- a/src/Microsoft.Graph/Generated/Print/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PrintOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for print @@ -79,7 +79,7 @@ public async Task PostAsync(PrintOperation body, Action(requestInfo, PrintOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a printOperation object. diff --git a/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs index d0fd3f75fe3..9a0a9229822 100644 --- a/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/PrintRequestBuilder.cs @@ -75,7 +75,7 @@ public PrintRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Print.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Print.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update print @@ -96,7 +96,7 @@ public PrintRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Print.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Print.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get print diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Count/CountRequestBuilder.cs index 64b72436d94..c87843d9443 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Create/CreateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Create/CreateRequestBuilder.cs index 0461fb6f357..743a79c2a09 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Create/CreateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Create/CreateRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CreatePostRequestBody body, Action /// Create (register) a printer with the Universal Print service. This is a long-running operation and as such, it returns a printerCreateOperation that can be used to track and verify the registration of the printer. For help creating the required Certificate Signing Request (CSR) for creating printer, see the CSR generation code sample. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/ConnectorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/ConnectorsRequestBuilder.cs index bad576bb5e7..930a61a7c06 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/ConnectorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/ConnectorsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintConnectorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of printConnectors associated with the printer. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Count/CountRequestBuilder.cs index dd748f166db..8e2683c098e 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.cs index 919b5a12758..77942e766ec 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Connectors/Item/PrintConnectorItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintConnector.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The connectors that are associated with the printer. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Count/CountRequestBuilder.cs index 0bc1b480e2d..53ff5391974 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.cs index 9ddc97d46a6..d4db1aa701b 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Abort/AbortRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AbortPostRequestBody body, Action /// Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs index 1762c37c220..58b9fc0a01d 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs index b14070b1fd4..8913bd4c6fa 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs index 11176398f08..8d3c4d32e42 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PrintDocumentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocumentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to documents for print @@ -79,7 +79,7 @@ public async Task PostAsync(PrintDocument body, Action(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get documents from print diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index ee0d38526a6..7029ad80c3d 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs index 522c5b08d9c..e95c894aa74 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get documents from print @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property documents in print @@ -95,7 +95,7 @@ public async Task PatchAsync(PrintDocument body, Action(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property documents for print diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs index 67a92b0eda3..7673fa0e141 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property documents in print @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property documents from print diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs index f5cb8dbd425..29dfff2115d 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/PrintJobItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The list of jobs that are queued for printing by the printer/printerShare. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property jobs in print @@ -115,7 +115,7 @@ public async Task PatchAsync(PrintJob body, Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property jobs for print diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs index d3af5d1f121..422c9d6ea54 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(RedirectPostRequestBody body, Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Start/StartRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Start/StartRequestBuilder.cs index f79c2b77095..849a104cc67 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Start/StartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Start/StartRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, PrintJobStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJobStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs index 2feadb09a2f..69d8eefc4ca 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs index ed79a98351a..3fe95bd6139 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The printTaskDefinition that was used to create this task. Read-only. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs index 5a5881feb7f..a83ad9bd752 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// A list of printTasks that were triggered by this print job. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in print @@ -95,7 +95,7 @@ public async Task PatchAsync(PrintTask body, Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for print diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs index 15f8b0f1cd0..ccbbd2ea18c 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The printTaskTrigger that triggered this task's execution. Read-only. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs index 0075ae97cd4..fb25e00d6db 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for print @@ -79,7 +79,7 @@ public async Task PostAsync(PrintTask body, Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A list of printTasks that were triggered by this print job. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs index ee9e52990c3..e7ceef9c25c 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Jobs/JobsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PrintJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to jobs for print @@ -79,7 +79,7 @@ public async Task PostAsync(PrintJob body, Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of jobs that are queued for printing by the printer/printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs index af9db73db41..3f66ad920ee 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/PrinterItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a printer object. @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a printer object. @@ -113,7 +113,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete (unregister) a printer. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.cs index f494c205635..82b706972a8 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/RestoreFactoryDefaults/RestoreFactoryDefaultsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a printer's default settings to the values specified by the manufacturer. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Count/CountRequestBuilder.cs index dc75fdd748d..5e70e3c6498 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.cs index acceb6330ef..f9830fe70d8 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/Item/PrinterShareItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of printerShares that are associated with the printer. Currently, only one printerShare can be associated with the printer. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/SharesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/SharesRequestBuilder.cs index db0cefcf981..0377977f855 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/SharesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/Shares/SharesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrinterShareCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrinterShareCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of printer shares associated with the printer. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Count/CountRequestBuilder.cs index 529967f6a80..141287135ae 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.cs index 090d94a61e7..dde73bf9e2b 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/Definition/DefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.cs index 6e97de6e8dd..b25dead88ce 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/Item/PrintTaskTriggerItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get a task trigger from a printer. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property taskTriggers in print @@ -92,7 +92,7 @@ public async Task PatchAsync(PrintTaskTrigger body, Action(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the task trigger of a printer to prevent related print events from triggering tasks on the specified printer. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.cs index 945966a9726..fbe6d119a29 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/Item/TaskTriggers/TaskTriggersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskTriggerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskTriggerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new task trigger on the specified printer. Currently, only one task trigger can be specified per printer, but this limit might be removed in the future. @@ -81,7 +81,7 @@ public async Task PostAsync(PrintTaskTrigger body, Action(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of task triggers associated with the printer. The list of task triggers defines which tasks will be triggered as a result of events that occur during printing. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Print/Printers/PrintersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Printers/PrintersRequestBuilder.cs index 666e9175e4a..b9bd6f21656 100644 --- a/src/Microsoft.Graph/Generated/Print/Printers/PrintersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Printers/PrintersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, PrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to printers for print @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of printers that are registered in the tenant. diff --git a/src/Microsoft.Graph/Generated/Print/Services/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Services/Count/CountRequestBuilder.cs index 247271b2f49..4494952f6c0 100644 --- a/src/Microsoft.Graph/Generated/Print/Services/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Services/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Count/CountRequestBuilder.cs index 8d9e072da49..f7a004c4264 100644 --- a/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/EndpointsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/EndpointsRequestBuilder.cs index 3af1dc0a98f..1a56eec984b 100644 --- a/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/EndpointsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/EndpointsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintServiceEndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintServiceEndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to endpoints for print @@ -80,7 +80,7 @@ public async Task PostAsync(PrintServiceEndpoint body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintServiceEndpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintServiceEndpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of endpoints exposed by a print service. diff --git a/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.cs index 56e3ea1e20f..fc2d7e67516 100644 --- a/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Services/Item/Endpoints/Item/PrintServiceEndpointItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a print service endpoint. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PrintServiceEndpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintServiceEndpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property endpoints in print @@ -86,7 +86,7 @@ public async Task PatchAsync(PrintServiceEndpoint body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintServiceEndpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintServiceEndpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property endpoints for print diff --git a/src/Microsoft.Graph/Generated/Print/Services/Item/PrintServiceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Services/Item/PrintServiceItemRequestBuilder.cs index 03ad5300d3d..becde0e69e5 100644 --- a/src/Microsoft.Graph/Generated/Print/Services/Item/PrintServiceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Services/Item/PrintServiceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a print service. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, PrintService.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintService.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property services in print @@ -91,7 +91,7 @@ public async Task PatchAsync(PrintService body, Action(requestInfo, PrintService.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintService.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property services for print diff --git a/src/Microsoft.Graph/Generated/Print/Services/ServicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Services/ServicesRequestBuilder.cs index f04e2327b14..5a4b5e3ee4a 100644 --- a/src/Microsoft.Graph/Generated/Print/Services/ServicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Services/ServicesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintServiceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintServiceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to services for print @@ -80,7 +80,7 @@ public async Task PostAsync(PrintService body, Action(requestInfo, PrintService.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintService.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of printService objects that represent the services available to your tenant. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Count/CountRequestBuilder.cs index 1ceac6138a1..610a6380269 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.cs index 95c6dd39f58..9b2be9e20b6 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/AllowedGroupsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Count/CountRequestBuilder.cs index 2b4ab35ddcb..4379bff78f8 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.cs index 7ff5c91baf9..1e4be6b0735 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Revoke the specified group's access to submit print jobs to the associated printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs index a23ad7c53ff..20a92b2337d 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedGroups/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Grant the specified group access to submit print jobs to the associated printerShare. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieve a list of groups that have been granted access to submit print jobs to the associated printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.cs index fe12aa8cac0..cd0b8d9c4cc 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/AllowedUsersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Count/CountRequestBuilder.cs index 71ab9c25ca4..b145fdfdefc 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs index 5387db1c0f6..53dfcf2c59c 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.cs index 1ac386b5955..87686fc080f 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Revoke the specified user's access to submit print jobs to the associated printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs index 796c733f006..3843482f22d 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/AllowedUsers/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Grant the specified user access to submit print jobs to the associated printerShare. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Retrieve a list of users who have been granted access to submit print jobs to the associated printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Count/CountRequestBuilder.cs index dba1eff1641..688e3e6fb3a 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.cs index b355dd25dde..fe9a33110b9 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Abort/AbortRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AbortPostRequestBody body, Action /// Abort a print job. Only applications using application permissions can abort a print job. Aborting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to register a task trigger, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs index 9befb11ca33..d0ddf223672 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Cancel/CancelRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Cancel a print job. Print jobs can be canceled only on behalf of a user, using delegated permissions. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs index f1c852f7e04..fdd537080b8 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs index fa1714b6a73..018d505c1d4 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/DocumentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PrintDocumentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocumentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to documents for print @@ -79,7 +79,7 @@ public async Task PostAsync(PrintDocument body, Action(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get documents from print diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 9156000ac2e..80ba92ff135 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a binary file linked to the print document. As part of the response, this action returns an upload URL that can be used in subsequent sequential PUT queries. Request headers for each PUT operation can be used to specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs index 8f1dd22f356..d99c358dd95 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/PrintDocumentItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get documents from print @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property documents in print @@ -95,7 +95,7 @@ public async Task PatchAsync(PrintDocument body, Action(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintDocument.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property documents for print diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs index 725acb6a181..be0cefddbee 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Documents/Item/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property documents in print @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property documents from print diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs index 0d5c0988422..5d14108365a 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/PrintJobItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The list of jobs that are queued for printing by the printer/printerShare. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property jobs in print @@ -115,7 +115,7 @@ public async Task PatchAsync(PrintJob body, Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property jobs for print diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs index 5c6232a4492..204e9581dec 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Redirect/RedirectRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(RedirectPostRequestBody body, Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Redirect a print job to a different printer. Redirecting a print job will only succeed if there is a printTask in a processing state on the associated print job, started by a trigger that the requesting app created. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Start/StartRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Start/StartRequestBuilder.cs index d5e9ab6e449..93a93dbb8e8 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Start/StartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Start/StartRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, PrintJobStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJobStatus.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Submits the print job to the associated printer or printerShare. It will be printed after any existing pending jobs are completed, aborted, or canceled. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs index 5f0a8b0df2b..5c7e8672937 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs index 5c84dd6fe89..c08d1a2b38a 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The printTaskDefinition that was used to create this task. Read-only. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs index e1ea1b27424..b02de78d160 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// A list of printTasks that were triggered by this print job. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in print @@ -95,7 +95,7 @@ public async Task PatchAsync(PrintTask body, Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for print diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs index 540f899a98c..acca1d5463f 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The printTaskTrigger that triggered this task's execution. Read-only. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs index fb04fcd9b28..cacc301efeb 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/Item/Tasks/TasksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for print @@ -79,7 +79,7 @@ public async Task PostAsync(PrintTask body, Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A list of printTasks that were triggered by this print job. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs index 3229209cf0b..43f56f3dc54 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Jobs/JobsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PrintJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to jobs for print @@ -79,7 +79,7 @@ public async Task PostAsync(PrintJob body, Action(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of jobs that are queued for printing by the printer/printerShare. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs index ddf35ff1d0c..8b52f2367f6 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/Printer/PrinterRequestBuilder.cs @@ -45,7 +45,7 @@ public PrinterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Printer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The printer that this printer share is related to. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs index b5e52111cf9..6c19a4de39d 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/Item/PrinterShareItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a printer share. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a printer share. This method can be used to swap printers. For example, if a physical printer device breaks, an administrator can register a new printer device and update this printerShare to point to the new printer without requiring users to take any action. @@ -108,7 +108,7 @@ public async Task PatchAsync(PrinterShare body, Action(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a printer share (unshare the associated printer). This action cannot be undone. If the printer is shared again in the future, any Windows users who had previously installed the printer will need to discover and reinstall it. diff --git a/src/Microsoft.Graph/Generated/Print/Shares/SharesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/Shares/SharesRequestBuilder.cs index 95247377312..15a14a7d006 100644 --- a/src/Microsoft.Graph/Generated/Print/Shares/SharesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/Shares/SharesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrinterShareCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrinterShareCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new printerShare for the specified printer. @@ -81,7 +81,7 @@ public async Task PostAsync(PrinterShare body, Action(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrinterShare.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of printerShares. diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Count/CountRequestBuilder.cs index 12898924eef..6f7a6c4eef7 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.cs index 3fa4e00cd7f..d5f0c32d14d 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/PrintTaskDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get details about a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. @@ -93,7 +93,7 @@ public async Task PatchAsync(PrintTaskDefinition body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a taskDefinition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Count/CountRequestBuilder.cs index 2949df45935..1fccb09cdc9 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs index 4cbf2f412fb..d2986b86a6b 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Definition/DefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The printTaskDefinition that was used to create this task. Read-only. diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs index 5c8ed8cdca0..e0d1b624d2b 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/PrintTaskItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get details about a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a print task. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. @@ -97,7 +97,7 @@ public async Task PatchAsync(PrintTask body, Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for print diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs index f204634f0f9..2cf8f208633 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/Item/Trigger/TriggerRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskTrigger.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The printTaskTrigger that triggered this task's execution. Read-only. diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/TasksRequestBuilder.cs index bb0ab889e2d..84f59224e03 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for print @@ -80,7 +80,7 @@ public async Task PostAsync(PrintTask body, Action(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of tasks associated with a task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/TaskDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/TaskDefinitionsRequestBuilder.cs index 1c42cbf598b..0aa53f96b3b 100644 --- a/src/Microsoft.Graph/Generated/Print/TaskDefinitions/TaskDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Print/TaskDefinitions/TaskDefinitionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintTaskDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new task definition. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. @@ -81,7 +81,7 @@ public async Task PostAsync(PrintTaskDefinition body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintTaskDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of task definitions that the requesting app defined in the tenant. For details about how to use this API to add pull printing support to Universal Print, see Extending Universal Print to support pull printing. diff --git a/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs index 248070296ad..b64c1c17d57 100644 --- a/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/PrivacyRequestBuilder.cs @@ -50,7 +50,7 @@ public PrivacyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Privacy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Privacy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update privacy @@ -71,7 +71,7 @@ public PrivacyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : ba {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Privacy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Privacy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get privacy diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Count/CountRequestBuilder.cs index 8d5a16d7ece..3314c16d136 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Count/CountRequestBuilder.cs @@ -45,7 +45,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs index 855264482d7..ee61f39e59d 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get approvers from privacy diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs index e95c23d94d3..895eb3dd2d4 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs @@ -45,7 +45,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs index c635de3b4e6..4d526290e4e 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -46,7 +46,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -68,7 +68,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs index aad388ba44e..3c29a401fed 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs @@ -52,7 +52,7 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get approvers from privacy diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs index e96451e09d9..b423fe28e24 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get collaborators from privacy diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs index 32a361b7ed1..8f81518ff99 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs @@ -45,7 +45,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs index 860b5501122..713eac9dec6 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -46,7 +46,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -68,7 +68,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs index 7739e3dc3b4..77f9ac9ef31 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs @@ -52,7 +52,7 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get collaborators from privacy diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs index 301c94b5d79..1ce4c626c5b 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getFinalAttachment diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs index 19b6351ad84..960b4285281 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getFinalReport diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs index efeb7779505..b266bacf345 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs @@ -45,7 +45,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs index 34e60b33e2b..e63d7f17252 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// List of notes associcated with the request. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property notes in privacy @@ -88,7 +88,7 @@ public async Task PatchAsync(AuthoredNote body, Action(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property notes for privacy diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs index 8b7c0dbaeae..0df57dcc240 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs @@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, AuthoredNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new authoredNote object. @@ -85,7 +85,7 @@ public async Task PostAsync(AuthoredNote body, Action(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of authored notes assoicated with a subject rights request. diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs index 6edd10e7bf0..4eba06a7599 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs @@ -82,7 +82,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a subjectRightsRequest object. @@ -103,7 +103,7 @@ public async Task GetAsync(Action(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a subjectRightsRequest object. @@ -126,7 +126,7 @@ public async Task PatchAsync(SubjectRightsRequest body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property subjectRightsRequests for privacy diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs index 09e6dfd050a..79e39f3c206 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs @@ -46,7 +46,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Information about the Microsoft Teams team that was created for the request. diff --git a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs index 3f7bc2a8293..db18636d8bc 100644 --- a/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Privacy/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs @@ -62,7 +62,7 @@ public async Task GetAsync(Action(requestInfo, SubjectRightsRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new subjectRightsRequest object. @@ -85,7 +85,7 @@ public async Task PostAsync(SubjectRightsRequest body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of subjectRightsRequest objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.cs index 66d96146ac2..abd78838a5b 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/AuthenticationMethodsRequestBuilder.cs @@ -62,7 +62,7 @@ public async Task DeleteAsync(Action /// Container for navigation properties for Azure AD authentication methods resources. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethodsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property authenticationMethods in reports @@ -102,7 +102,7 @@ public async Task PatchAsync(AuthenticationMethodsRoo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authenticationMethods for reports diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Count/CountRequestBuilder.cs index 2fdb40a2e2e..de0bdfb8cad 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.cs index 4e1d063078b..0312498f0a5 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/Item/UserRegistrationDetailsItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a userRegistrationDetails object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userRegistrationDetails in reports @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.UserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userRegistrationDetails for reports diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.cs index bbfc25e4f47..34f05fbb9e0 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UserRegistrationDetails/UserRegistrationDetailsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UserRegistrationDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserRegistrationDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to userRegistrationDetails for reports @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.UserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.UserRegistrationDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the authentication methods registered for a user as defined in the userRegistrationDetails object. diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.cs index 394b21c0933..c5731c5b796 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeature/UsersRegisteredByFeatureRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserRegistrationFeatureSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserRegistrationFeatureSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usersRegisteredByFeature diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs index fc0bd687439..b59fbaeefe7 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByFeatureWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, UserRegistrationFeatureSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserRegistrationFeatureSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usersRegisteredByFeature diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.cs index 4896386d619..105febdf599 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethod/UsersRegisteredByMethodRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserRegistrationMethodSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserRegistrationMethodSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usersRegisteredByMethod diff --git a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs index 22b6e8be497..f5ee0222cca 100644 --- a/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/AuthenticationMethods/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRoles/UsersRegisteredByMethodWithIncludedUserTypesWithIncludedUserRolesRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, UserRegistrationMethodSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserRegistrationMethodSummary.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function usersRegisteredByMethod diff --git a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Count/CountRequestBuilder.cs index 54e64a737e1..2b3567b788d 100644 --- a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.cs index 41620e69d21..0d034a4c44a 100644 --- a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/DailyPrintUsageByPrinterRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to dailyPrintUsageByPrinter for reports @@ -80,7 +80,7 @@ public async Task PostAsync(PrintUsageByPrinter body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of daily print usage summaries, grouped by printer. diff --git a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs index 1041fda5fc5..719b88aa41f 100644 --- a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a usage summary for a printer for a particular time period. For descriptions of each of the endpoints, see printUsageByPrinter. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property dailyPrintUsageByPrinter in reports @@ -86,7 +86,7 @@ public async Task PatchAsync(PrintUsageByPrinter body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property dailyPrintUsageByPrinter for reports diff --git a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Count/CountRequestBuilder.cs index ec8be3696d1..6b69a031c7e 100644 --- a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.cs index 95a117ec1bd..b7a504e201f 100644 --- a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/DailyPrintUsageByUserRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to dailyPrintUsageByUser for reports @@ -80,7 +80,7 @@ public async Task PostAsync(PrintUsageByUser body, Action(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of daily print usage summaries, grouped by user. diff --git a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs index 39cf664ca64..53624e40d72 100644 --- a/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DailyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's usage summary for a particular time period. For descriptions of each endpoint, see printUsageByUser. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property dailyPrintUsageByUser in reports @@ -86,7 +86,7 @@ public async Task PatchAsync(PrintUsageByUser body, Action(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property dailyPrintUsageByUser for reports diff --git a/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.cs index 58317ff7f04..2f6e6928c89 100644 --- a/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationDeviceActivity/DeviceConfigurationDeviceActivityRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Metadata for the device configuration device activity report diff --git a/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.cs index bc52b9bb163..aca5e12625c 100644 --- a/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/DeviceConfigurationUserActivity/DeviceConfigurationUserActivityRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Metadata for the device configuration user activity report diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.cs index 47a9de28cb3..1eeefca9867 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityCountsWithPeriod/GetEmailActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.cs index 026cdbe9a52..472b6146662 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserCountsWithPeriod/GetEmailActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.cs index fb49bd5b2b3..5d20e3e2581 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithDate/GetEmailActivityUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.cs index d9c2a19e20e..d699e2c6a47 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailActivityUserDetailWithPeriod/GetEmailActivityUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.cs index 3a41551bbfd..1833eafe66e 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageAppsUserCountsWithPeriod/GetEmailAppUsageAppsUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailAppUsageAppsUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.cs index c941b6946c4..40492463ef3 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserCountsWithPeriod/GetEmailAppUsageUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailAppUsageUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.cs index 3fbb3309371..153fc2af6af 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithDate/GetEmailAppUsageUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailAppUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.cs index 5d275021e6a..f4baa5b6535 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageUserDetailWithPeriod/GetEmailAppUsageUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailAppUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.cs index 2cf12706b6d..1e7729a5068 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetEmailAppUsageVersionsUserCountsWithPeriod/GetEmailAppUsageVersionsUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getEmailAppUsageVersionsUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs index e4afea8a7d7..43b008f47ec 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTime/GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetGroupArchivedPrintJobsWithGroupIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getGroupArchivedPrintJobs diff --git a/src/Microsoft.Graph/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.cs index ccb8976c92a..df2031af884 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetM365AppPlatformUserCountsWithPeriod/GetM365AppPlatformUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getM365AppPlatformUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.cs index e6a50b58e46..6e802d19419 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetM365AppUserCountsWithPeriod/GetM365AppUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getM365AppUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.cs index 6694b98521b..8fcdff9393f 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithDate/GetM365AppUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getM365AppUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.cs index 0a0bf236a9d..6c883224ae0 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetM365AppUserDetailWithPeriod/GetM365AppUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getM365AppUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.cs index 25cc9d9a563..98867bcab31 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageDetailWithPeriod/GetMailboxUsageDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getMailboxUsageDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.cs index 20104deec45..810c45d6af3 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageMailboxCountsWithPeriod/GetMailboxUsageMailboxCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getMailboxUsageMailboxCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.cs index 9ab00e64b43..08be38168a9 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageQuotaStatusMailboxCountsWithPeriod/GetMailboxUsageQuotaStatusMailboxCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getMailboxUsageQuotaStatusMailboxCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.cs index cab80cd1bd2..3c2463b1e89 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetMailboxUsageStorageWithPeriod/GetMailboxUsageStorageWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getMailboxUsageStorage diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.cs index 6a8056fe45d..578492a505e 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationCounts/GetOffice365ActivationCountsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365ActivationCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.cs index 4246a663649..a287adfeab1 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserCounts/GetOffice365ActivationsUserCountsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365ActivationsUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.cs index 87ea5406ec6..b928c96f116 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActivationsUserDetail/GetOffice365ActivationsUserDetailRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365ActivationsUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.cs index d0079a13e2a..cf9210c58d7 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserCountsWithPeriod/GetOffice365ActiveUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365ActiveUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.cs index e22dc598084..9aeebf5b22d 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithDate/GetOffice365ActiveUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365ActiveUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.cs index c62510109c2..c03037d48d0 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365ActiveUserDetailWithPeriod/GetOffice365ActiveUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365ActiveUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.cs index 9a10e4f5865..fa017dbb8aa 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityCountsWithPeriod/GetOffice365GroupsActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365GroupsActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.cs index 299a4649439..b540bb22bf6 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithDate/GetOffice365GroupsActivityDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365GroupsActivityDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.cs index f6c7486da0d..533e6f2a517 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityDetailWithPeriod/GetOffice365GroupsActivityDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365GroupsActivityDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.cs index e72083da0d2..b3a6deb784e 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityFileCountsWithPeriod/GetOffice365GroupsActivityFileCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365GroupsActivityFileCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.cs index 94471af9f95..1c4e4b43492 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityGroupCountsWithPeriod/GetOffice365GroupsActivityGroupCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365GroupsActivityGroupCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.cs index 1c2a1fcf051..4f7aff7804d 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365GroupsActivityStorageWithPeriod/GetOffice365GroupsActivityStorageWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365GroupsActivityStorage diff --git a/src/Microsoft.Graph/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.cs index 18eb4734ecd..e58dca98503 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOffice365ServicesUserCountsWithPeriod/GetOffice365ServicesUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOffice365ServicesUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.cs index ef759b811f4..eae096ab3ff 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityFileCountsWithPeriod/GetOneDriveActivityFileCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveActivityFileCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.cs index c19a6d8ccb8..a863f815bc2 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserCountsWithPeriod/GetOneDriveActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.cs index 53d0ee82150..f72df708dcd 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithDate/GetOneDriveActivityUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.cs index 37d696dc6f8..849e7585bca 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveActivityUserDetailWithPeriod/GetOneDriveActivityUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.cs index 6bdcc790298..5d0cb4512ce 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountCountsWithPeriod/GetOneDriveUsageAccountCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveUsageAccountCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.cs index 45c75157153..505902fd5f2 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithDate/GetOneDriveUsageAccountDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveUsageAccountDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.cs index 39d93ef9f44..7d5dd19a14e 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageAccountDetailWithPeriod/GetOneDriveUsageAccountDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveUsageAccountDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.cs index 5fc5275fa3b..539257bfd42 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageFileCountsWithPeriod/GetOneDriveUsageFileCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveUsageFileCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.cs index 6b7023ac731..95aa5e5dde0 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetOneDriveUsageStorageWithPeriod/GetOneDriveUsageStorageWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getOneDriveUsageStorage diff --git a/src/Microsoft.Graph/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 40717c36ff5..3153697704e 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTime/GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetPrinterArchivedPrintJobsWithPrinterIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getPrinterArchivedPrintJobs diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.cs index bb60ff05d50..fa5910502ce 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityFileCountsWithPeriod/GetSharePointActivityFileCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointActivityFileCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.cs index d7963221917..a07f754b9a0 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityPagesWithPeriod/GetSharePointActivityPagesWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointActivityPages diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.cs index ddd2d765690..fb09a773995 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserCountsWithPeriod/GetSharePointActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.cs index dae7558cbd2..092caf41eb5 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithDate/GetSharePointActivityUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.cs index ce8ba55ca26..c07ef5426d2 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointActivityUserDetailWithPeriod/GetSharePointActivityUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.cs index 7cf9a3b80b0..3bdd761ddc4 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithDate/GetSharePointSiteUsageDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointSiteUsageDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.cs index aded3d89c0b..345772da524 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageDetailWithPeriod/GetSharePointSiteUsageDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointSiteUsageDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.cs index ab983f2f49c..dcfe839f2ba 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageFileCountsWithPeriod/GetSharePointSiteUsageFileCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointSiteUsageFileCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.cs index 2ea88248065..417550449d8 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsagePagesWithPeriod/GetSharePointSiteUsagePagesWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointSiteUsagePages diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.cs index c935a338b5e..e44b9a65169 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageSiteCountsWithPeriod/GetSharePointSiteUsageSiteCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointSiteUsageSiteCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.cs index 94bd95ae604..6f324e9b672 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSharePointSiteUsageStorageWithPeriod/GetSharePointSiteUsageStorageWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSharePointSiteUsageStorage diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.cs index 78f80992975..127ae6025b3 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityCountsWithPeriod/GetSkypeForBusinessActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.cs index e22605b68cd..911cc53964c 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserCountsWithPeriod/GetSkypeForBusinessActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.cs index 89c9e164046..43a50634b07 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithDate/GetSkypeForBusinessActivityUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.cs index efbd9d827dd..7e1e96afab8 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessActivityUserDetailWithPeriod/GetSkypeForBusinessActivityUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs index 1931e4e6ac2..cf847f5267b 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessDeviceUsageDistributionUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.cs index cb642526343..99036f41cf3 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserCountsWithPeriod/GetSkypeForBusinessDeviceUsageUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessDeviceUsageUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.cs index 6175ee0c2ce..332a0b9bdc1 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithDate/GetSkypeForBusinessDeviceUsageUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessDeviceUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.cs index bc6536ee335..005b93567ca 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessDeviceUsageUserDetailWithPeriod/GetSkypeForBusinessDeviceUsageUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessDeviceUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.cs index b853c3784db..3e9505ca90b 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityCountsWithPeriod/GetSkypeForBusinessOrganizerActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessOrganizerActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.cs index 768335acf5a..2a38877835b 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriod/GetSkypeForBusinessOrganizerActivityMinuteCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessOrganizerActivityMinuteCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.cs index b25c4428574..4114f5ed433 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriod/GetSkypeForBusinessOrganizerActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessOrganizerActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.cs index 7ad10196a2c..1616b5772d7 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityCountsWithPeriod/GetSkypeForBusinessParticipantActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessParticipantActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.cs index 9de78fed60d..b3098e6eaca 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriod/GetSkypeForBusinessParticipantActivityMinuteCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessParticipantActivityMinuteCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.cs index fff12f3937b..744e95ff533 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessParticipantActivityUserCountsWithPeriod/GetSkypeForBusinessParticipantActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessParticipantActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.cs index 3501a3b512a..d5881a7ded0 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessPeerToPeerActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.cs index a833c58f636..5487103f109 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityMinuteCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessPeerToPeerActivityMinuteCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.cs index 5a19c3730a3..36aadbafa37 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriod/GetSkypeForBusinessPeerToPeerActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getSkypeForBusinessPeerToPeerActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs index 246051b494d..aa868d35889 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageDistributionUserCountsWithPeriod/GetTeamsDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsDeviceUsageDistributionUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.cs index 5efe2655988..2cd2790905c 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserCountsWithPeriod/GetTeamsDeviceUsageUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsDeviceUsageUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.cs index 6dc124663c5..3cd57cdeb1c 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithDate/GetTeamsDeviceUsageUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsDeviceUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.cs index be1e486380e..e29c192c745 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsDeviceUsageUserDetailWithPeriod/GetTeamsDeviceUsageUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsDeviceUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.cs index e5126ecbe4e..da5a959153d 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityCountsWithPeriod/GetTeamsTeamActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsTeamActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.cs index 4df4f25e8f5..90ad5cb1695 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithDate/GetTeamsTeamActivityDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsTeamActivityDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.cs index dbdc5f5f0a0..a2f42e6d0cc 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDetailWithPeriod/GetTeamsTeamActivityDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsTeamActivityDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.cs index 429e4f793d0..1a92fd642bd 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamActivityDistributionCountsWithPeriod/GetTeamsTeamActivityDistributionCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsTeamActivityDistributionCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.cs index e9982316534..e4a8a7d99d8 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsTeamCountsWithPeriod/GetTeamsTeamCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsTeamCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.cs index 65d42a23663..fb23f2cbf6d 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityCountsWithPeriod/GetTeamsUserActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsUserActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.cs index a7aac02dc5c..a524d65b7cc 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserCountsWithPeriod/GetTeamsUserActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsUserActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.cs index bd5fdb28927..c28c24299f2 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithDate/GetTeamsUserActivityUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsUserActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.cs index 34f3224d039..29b53ee90e0 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetTeamsUserActivityUserDetailWithPeriod/GetTeamsUserActivityUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getTeamsUserActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs index 206758471b2..f62250d7d1c 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTime/GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetUserArchivedPrintJobsWithUserIdWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getUserArchivedPrintJobs diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.cs index 48ff3684569..fd674c92e6b 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityCountsWithPeriod/GetYammerActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.cs index 1138971f7ff..9ea1e3bd10b 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserCountsWithPeriod/GetYammerActivityUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerActivityUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.cs index 8fbebaaf233..6875de7affc 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithDate/GetYammerActivityUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.cs index 098e62c869f..cde84f84359 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerActivityUserDetailWithPeriod/GetYammerActivityUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerActivityUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs index 9ac30da1adb..8dc24d796ac 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageDistributionUserCountsWithPeriod/GetYammerDeviceUsageDistributionUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerDeviceUsageDistributionUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.cs index 5c41d963a5b..4cfe5eb059c 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserCountsWithPeriod/GetYammerDeviceUsageUserCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerDeviceUsageUserCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.cs index 9abaa5b336c..b2966657f98 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithDate/GetYammerDeviceUsageUserDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerDeviceUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.cs index a49f971a837..b13262f7c33 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerDeviceUsageUserDetailWithPeriod/GetYammerDeviceUsageUserDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerDeviceUsageUserDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.cs index c73f89abbcc..a45ef30cb5a 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityCountsWithPeriod/GetYammerGroupsActivityCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerGroupsActivityCounts diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.cs index 3d921c506b7..2b6c0c33dba 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithDate/GetYammerGroupsActivityDetailWithDateRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerGroupsActivityDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.cs index d336852bab9..7f702c4c573 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityDetailWithPeriod/GetYammerGroupsActivityDetailWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerGroupsActivityDetail diff --git a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.cs index c111e731d5f..dbed30999c5 100644 --- a/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/GetYammerGroupsActivityGroupCountsWithPeriod/GetYammerGroupsActivityGroupCountsWithPeriodRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getYammerGroupsActivityGroupCounts diff --git a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.cs index 8c91f74be66..c2d0626a030 100644 --- a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetails/ManagedDeviceEnrollmentFailureDetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function managedDeviceEnrollmentFailureDetails diff --git a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.cs index 5a5d433313e..5e1e9ec4dc7 100644 --- a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipToken/ManagedDeviceEnrollmentFailureDetailsWithSkipWithTopWithFilterWithSkipTokenRequestBuilder.cs @@ -53,7 +53,7 @@ public async Task GetAsync(Action(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function managedDeviceEnrollmentFailureDetails diff --git a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.cs index f4141a609a2..f1a160cc94b 100644 --- a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailures/ManagedDeviceEnrollmentTopFailuresRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function managedDeviceEnrollmentTopFailures diff --git a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.cs index ec8a23f87be..97e012fb7c9 100644 --- a/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ManagedDeviceEnrollmentTopFailuresWithPeriod/ManagedDeviceEnrollmentTopFailuresWithPeriodRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Report.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function managedDeviceEnrollmentTopFailures diff --git a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Count/CountRequestBuilder.cs index d0d61b5abf5..3e9b0b866c4 100644 --- a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs index d5e7350741d..5277928f1a9 100644 --- a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/Item/PrintUsageByPrinterItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a list of monthly print usage summaries, grouped by printer. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property monthlyPrintUsageByPrinter in reports @@ -85,7 +85,7 @@ public async Task PatchAsync(PrintUsageByPrinter body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property monthlyPrintUsageByPrinter for reports diff --git a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.cs index d12272b2e40..b7f3135e232 100644 --- a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByPrinter/MonthlyPrintUsageByPrinterRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinterCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to monthlyPrintUsageByPrinter for reports @@ -80,7 +80,7 @@ public async Task PostAsync(PrintUsageByPrinter body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByPrinter.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of monthly print usage summaries, grouped by printer. diff --git a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Count/CountRequestBuilder.cs index 7ea47070144..af00ad9b453 100644 --- a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs index 341d6eb6a82..3141314f003 100644 --- a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/Item/PrintUsageByUserItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve a list of monthly print usage summaries, grouped by user. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property monthlyPrintUsageByUser in reports @@ -85,7 +85,7 @@ public async Task PatchAsync(PrintUsageByUser body, Action(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property monthlyPrintUsageByUser for reports diff --git a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.cs index ac120e7670d..b8be6a7f7f2 100644 --- a/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/MonthlyPrintUsageByUser/MonthlyPrintUsageByUserRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PrintUsageByUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to monthlyPrintUsageByUser for reports @@ -80,7 +80,7 @@ public async Task PostAsync(PrintUsageByUser body, Action(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PrintUsageByUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of monthly print usage summaries, grouped by user. diff --git a/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs index b1cafc69da1..9c74706d5e5 100644 --- a/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/ReportsRequestBuilder.cs @@ -205,7 +205,7 @@ public async Task GetAsync(Action(requestInfo, ReportRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ReportRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getEmailActivityCounts method. @@ -997,7 +997,7 @@ public async Task PatchAsync(ReportRoot body, Action(requestInfo, ReportRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ReportRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read properties and relationships of the reportRoot object. diff --git a/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs index 25145320b06..2ad4f7694de 100644 --- a/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationRepeatOffenders/GetAttackSimulationRepeatOffendersRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAttackSimulationRepeatOffendersResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAttackSimulationRepeatOffendersResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAttackSimulationRepeatOffenders diff --git a/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs index f6d54975088..901444ac640 100644 --- a/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationSimulationUserCoverage/GetAttackSimulationSimulationUserCoverageRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAttackSimulationSimulationUserCoverageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAttackSimulationSimulationUserCoverageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAttackSimulationSimulationUserCoverage diff --git a/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs index c285d92ea1f..d81a52ebf2d 100644 --- a/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/Security/GetAttackSimulationTrainingUserCoverage/GetAttackSimulationTrainingUserCoverageRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAttackSimulationTrainingUserCoverageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAttackSimulationTrainingUserCoverageResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAttackSimulationTrainingUserCoverage diff --git a/src/Microsoft.Graph/Generated/Reports/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Reports/Security/SecurityRequestBuilder.cs index 8bc6153d0ac..60a291810ab 100644 --- a/src/Microsoft.Graph/Generated/Reports/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Reports/Security/SecurityRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Represents an abstract type that contains resources for attack simulation and training reports. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, SecurityReportsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecurityReportsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property security in reports @@ -100,7 +100,7 @@ public async Task PatchAsync(SecurityReportsRoot body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SecurityReportsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecurityReportsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property security for reports diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs index bf3716265b5..2c4896b1464 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/DirectoryRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Get directory from roleManagement @@ -109,7 +109,7 @@ public async Task GetAsync(Action(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property directory in roleManagement @@ -130,7 +130,7 @@ public async Task PatchAsync(RbacApplication body, Action(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property directory for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Count/CountRequestBuilder.cs index 4992674f77f..b4a8e0a45c8 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs index 4bcef39b173..3b01069de32 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs index 2ec393be6b1..acab54de4e0 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get resourceActions from roleManagement @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceActions in roleManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(UnifiedRbacResourceActio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceActions for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs index ce160d729b4..e52c95dbedf 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRbacResourceActionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceActionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceActions for roleManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UnifiedRbacResourceAction {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get resourceActions from roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs index c7437f24c6c..288e30790b7 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resourceNamespaces from roleManagement @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceNamespaces in roleManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(UnifiedRbacResourceNa {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceNamespaces for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs index 2924375a85c..8dd046a7061 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespaceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespaceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceNamespaces for roleManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UnifiedRbacResourceNam {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get resourceNamespaces from roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs index 0c048a1f550..cebcc50a6de 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 06ca580dda8..ec854652d42 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index b3b3a0e9111..e7de87ba8c7 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs index 58c4df2cdf3..1dabbeb34f6 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the assignment or role eligibility is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index aed279e0655..41dbddcbae5 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment or role eligibility. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs index 7eb99b692c3..9a0f4bd2b03 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or role eligibility through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index a06c81e6b9d..22c14c2bb58 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs index d6c0d830148..701eb4bdbca 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get the instance of an active role assignment. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignmentScheduleInstances in roleManagement @@ -111,7 +111,7 @@ public async Task PatchAsync(UnifiedRoleA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleAssignmentScheduleInstances for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs index fcb63e86c19..60517bd3390 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleAssignmentScheduleInstances for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs index 6c977ec17df..25d33531d52 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 63c688fbb36..1286b1203e8 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 1f908397a69..aa09a103fd1 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs index 1a3b936de85..46ffd6e5dfc 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the assignment is scoped to an app. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs index daec5e45454..88a9e9befa2 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 7780b6edf87..2ef7a735ba0 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs index 26aca228060..328c0fa2127 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment through the request. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index dccb13cf8d3..604796000cd 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs index dd2390236ba..7c74fb80590 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs index bf2869628ca..d256f1f3f0a 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs @@ -80,7 +80,7 @@ public async Task DeleteAsync(Action /// In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignmentScheduleRequests in roleManagement @@ -121,7 +121,7 @@ public async Task PatchAsync(UnifiedRoleAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleAssignmentScheduleRequests for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs index e1a17b95b40..7317aff6f8e 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object:+ Request active and persistent role assignments for a principal, with or without expiry dates.+ Activate, deactivate, extend, or renew an eligible role assignment for a principal. To call this API to update, renew, and extend assignments for yourself, you must have multi-factor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Azure AD Multi-Factor Authentication to secure sign-in events. @@ -90,7 +90,7 @@ public async Task PostAsync(UnifiedRoleAss {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Count/CountRequestBuilder.cs index 9049bffe2b6..63964fd8bab 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 31485e331a0..024c03cdb82 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 2948d2d54af..b721e93d733 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs index 72f3b65a9bf..4c856180215 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 5c3197c7ca4..b2de42a22bb 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the role eligibility or assignment. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs index f2b63b7ff2f..301b637b718 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or that's eligible for a role through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 149bc3975c3..6dfcd043886 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs index ad42abe0210..091fde98bed 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the schedule for an active role assignment operation. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignmentSchedules in roleManagement @@ -111,7 +111,7 @@ public async Task PatchAsync(UnifiedRoleAssignmen {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleAssignmentSchedules for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs index f1c45a2e449..ab79d50185b 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleAssignmentSchedules for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleAssignment {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the schedules for active role assignment operations. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Count/CountRequestBuilder.cs index a5e231d230f..9c6e7d454e4 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs index 0bc9c51f902..b94dd027c17 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appScope in roleManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property appScope for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 959e15da3bc..9f1fa2d9098 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs index 3f03e0dadb9..8b4c392794e 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Referencing the assigned principal. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 4e00e0bb843..e4e44a63775 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The roleDefinition the assignment is for. Supports $expand. roleDefinition.Id will be auto expanded. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs index 69d3492d665..5df2fa3fe10 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a unifiedRoleAssignment object. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignments in roleManagement @@ -107,7 +107,7 @@ public async Task PatchAsync(UnifiedRoleAssignment body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a unifiedRoleAssignment object. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/RoleAssignmentsRequestBuilder.cs index 582a5bf747f..63d05645691 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new unifiedRoleAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(UnifiedRoleAssignment body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Azure AD)- entitlement management (Azure AD) diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Count/CountRequestBuilder.cs index c2cc7c84aed..3f0bcaebffb 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs index 976355abd5f..51b03ff78be 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs index 273d9b12570..0a14771dc33 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to inheritsPermissionsFrom for roleManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UnifiedRoleDefinition body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles (isBuiltIn is true) support this attribute. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index c9acf8a8821..68b2455d787 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles (isBuiltIn is true) support this attribute. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property inheritsPermissionsFrom in roleManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(UnifiedRoleDefinition body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property inheritsPermissionsFrom for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 9ca13c82169..d8d74c4ddd9 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires an Azure AD Premium P1 or P2 license. @@ -93,7 +93,7 @@ public async Task PatchAsync(UnifiedRoleDefinition body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a unifiedRoleDefinition object. You cannot delete built-in roles. This feature requires an Azure AD Premium P1 or P2 license. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/RoleDefinitionsRequestBuilder.cs index 7aac9d08560..a879fa812db 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/RoleDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new custom unifiedRoleDefinition object. This feature requires an Azure AD Premium P1 or P2 license. @@ -81,7 +81,7 @@ public async Task PostAsync(UnifiedRoleDefinition body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Azure AD)- entitlement management (Azure AD) diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs index c7c18542f10..e571041981d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index fdf07e26645..871b5d64d52 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs index 180a9c384a5..062ed1470df 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the assignment or role eligibility is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index c91166efe20..0ec385976cd 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment or role eligibility. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs index d43cb42e62f..0b05951049a 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or role eligibility through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 85a978e5e87..93a30c65575 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs index bf3b48e8efb..ceea91cd3a1 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Get the instance of a role eligibility. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleEligibilityScheduleInstances in roleManagement @@ -106,7 +106,7 @@ public async Task PatchAsync(UnifiedRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleEligibilityScheduleInstances for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs index dde12ef9d23..e9c489aa606 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleEligibilityScheduleInstances for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleE {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the instances of role eligibilities. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs index 8728efab86d..eedc4a421a7 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index a781edb834e..e4e942c037c 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs index a0ea987f805..f4467b15625 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the role eligibility is scoped to an app. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs index 4ed49dc3b8e..6eb973cdb6c 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 94cb169e4d7..b700dd78b76 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the role eligibility. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs index c5a3591f714..ac2535a525e 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role eligibility through the request. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 3385a706093..aa914eaca78 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs index 7579a673997..264db14e403 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs index 6df114ba051..4688377cb76 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleEligibilityScheduleRequests in roleManagement @@ -116,7 +116,7 @@ public async Task PatchAsync(UnifiedRoleE {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleEligibilityScheduleRequests for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs index 08819a6d3e3..576f373816e 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. @@ -90,7 +90,7 @@ public async Task PostAsync(UnifiedRoleEl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Count/CountRequestBuilder.cs index b38008ccd61..18a1a533585 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 2dc72ffb3a7..a48e2703ced 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs index 7816123dcfe..f84d4043ed0 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 469ffcf7458..f1ccd3410f7 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the role eligibility or assignment. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs index ce0ed849018..5e4b41978b7 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or that's eligible for a role through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index b6945743c23..6e99f8fe8f7 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs index 9505a10e793..fba197a180f 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the schedule for a role eligibility operation. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleEligibilitySchedules in roleManagement @@ -106,7 +106,7 @@ public async Task PatchAsync(UnifiedRoleEligibil {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleEligibilitySchedules for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs index 64b7dfa38ae..ad7af068f7f 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/DirectoryNamespace/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleEligibilitySchedules for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleEligibili {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs index 7aa26513a24..cbb2991f11c 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/EntitlementManagementRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Container for roles and assignments for entitlement management resources. @@ -109,7 +109,7 @@ public async Task GetAsync(Action(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property entitlementManagement in roleManagement @@ -130,7 +130,7 @@ public async Task PatchAsync(RbacApplication body, Action(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RbacApplication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property entitlementManagement for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Count/CountRequestBuilder.cs index 286c75ec35d..bf59a014bce 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs index e14d5c66903..b030106aed8 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs index 608a5167dbb..ca70580c656 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/Item/UnifiedRbacResourceActionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get resourceActions from roleManagement @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceActions in roleManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(UnifiedRbacResourceActio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceActions for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs index 68480d1bd56..e10df5c1e1b 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/ResourceActions/ResourceActionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRbacResourceActionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceActionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceActions for roleManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UnifiedRbacResourceAction {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceAction.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get resourceActions from roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs index 886a3ae2154..3ef21cc629d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/Item/UnifiedRbacResourceNamespaceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get resourceNamespaces from roleManagement @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resourceNamespaces in roleManagement @@ -90,7 +90,7 @@ public async Task PatchAsync(UnifiedRbacResourceNa {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resourceNamespaces for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs index eb74909ebfc..4f1585f0886 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/ResourceNamespaces/ResourceNamespacesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespaceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespaceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resourceNamespaces for roleManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UnifiedRbacResourceNam {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRbacResourceNamespace.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get resourceNamespaces from roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs index 80e9c57fa44..4e6bab2928c 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 42a9d2a2099..ef8a2958e4e 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index bd703331917..677f706a10e 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs index 13495504f27..76b63ef40ab 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the assignment or role eligibility is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index d5d3029d042..c7a2638a6f4 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment or role eligibility. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs index 1c6110fe49e..71603e83358 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or role eligibility through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 0516ac3201d..84e2dcb84e3 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs index 4caeacf258b..d33d9ae628f 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/Item/UnifiedRoleAssignmentScheduleInstanceItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get the instance of an active role assignment. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignmentScheduleInstances in roleManagement @@ -111,7 +111,7 @@ public async Task PatchAsync(UnifiedRoleA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleAssignmentScheduleInstances for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs index ee7d77a00cf..615c9255a88 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleInstances/RoleAssignmentScheduleInstancesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleAssignmentScheduleInstances for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the instances of active role assignments in your tenant. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs index 8c351634e3c..83c1746d686 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index c2ce90e9467..8178dd9150f 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index 7969929ff4b..a7eb5ee991d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it's null. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs index 6b72587b9e7..4fb0a172a03 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the assignment is scoped to an app. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs index cad78817916..2c7b70e42fe 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Cancel/CancelRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Immediately cancel a unifiedRoleAssignmentScheduleRequest object that is in a Granted status, and have the system automatically delete the canceled request after 30 days. After calling this action, the status of the canceled unifiedRoleAssignmentScheduleRequest changes to Canceled. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 14e2e3a9488..5e57dd69570 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs index 6b7e1794d59..9bc4a3b39e9 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment through the request. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 8cf364c6696..7f3fd401c2d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs index ba87cd44272..d8a3852eedc 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The schedule for an eligible role assignment that is referenced through the targetScheduleId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs index b42f085f387..4a2b09170a4 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/Item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.cs @@ -80,7 +80,7 @@ public async Task DeleteAsync(Action /// In PIM, read the details of a request for an active and persistent role assignment made through the unifiedRoleAssignmentScheduleRequest object. @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignmentScheduleRequests in roleManagement @@ -121,7 +121,7 @@ public async Task PatchAsync(UnifiedRoleAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleAssignmentScheduleRequests for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs index a0e442e4974..b2cd6e4eea5 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentScheduleRequests/RoleAssignmentScheduleRequestsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In PIM, carry out the following operations through the unifiedRoleAssignmentScheduleRequest object:+ Request active and persistent role assignments for a principal, with or without expiry dates.+ Activate, deactivate, extend, or renew an eligible role assignment for a principal. To call this API to update, renew, and extend assignments for yourself, you must have multi-factor authentication (MFA) enforced, and running the query in a session in which they were challenged for MFA. See Enable per-user Azure AD Multi-Factor Authentication to secure sign-in events. @@ -90,7 +90,7 @@ public async Task PostAsync(UnifiedRoleAss {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the requests for active role assignments to principals. The active assignments include those made through assignments and activation requests, and directly through the role assignments API. The role assignments can be permanently active with or without an expiry date, or temporarily active after user activation of eligible assignments. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Count/CountRequestBuilder.cs index b5364aeca6c..4366700c5ed 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 414d78960d5..d45851e7059 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs index cb8c74ce90b..b5101ce5890 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/ActivatedUsing/ActivatedUsingRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// If the request is from an eligible administrator to activate a role, this parameter will show the related eligible assignment for that activation. Otherwise, it is null. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs index dcadc6d2a9b..56ab1cc90db 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 456eac10e62..214f617e92d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the role eligibility or assignment. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs index 2bea4bfe120..fe48769fb9a 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or that's eligible for a role through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 337879ee127..58a99882bf4 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs index 5e2094c8b4e..e9c02a81436 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/Item/UnifiedRoleAssignmentScheduleItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the schedule for an active role assignment operation. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignmentSchedules in roleManagement @@ -111,7 +111,7 @@ public async Task PatchAsync(UnifiedRoleAssignmen {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleAssignmentSchedules for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs index 3b8d70f70ac..4dbfd617760 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignmentSchedules/RoleAssignmentSchedulesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleAssignmentSchedules for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleAssignment {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentSchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the schedules for active role assignment operations. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Count/CountRequestBuilder.cs index 63e56dac334..26317660cfc 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs index e4f72c3cc52..d3ad528d092 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appScope in roleManagement @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property appScope for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index afa92439856..712c6e4bbf5 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs index eeacc3a4762..0f226d8174f 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Referencing the assigned principal. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 852e5dcabae..dd02a8102a0 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The roleDefinition the assignment is for. Supports $expand. roleDefinition.Id will be auto expanded. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs index c1cce5c563d..e748554e6b6 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/Item/UnifiedRoleAssignmentItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a unifiedRoleAssignment object. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleAssignments in roleManagement @@ -107,7 +107,7 @@ public async Task PatchAsync(UnifiedRoleAssignment body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a unifiedRoleAssignment object. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs index e7cb9604a3e..2832eee0a0c 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleAssignments/RoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new unifiedRoleAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(UnifiedRoleAssignment body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of unifiedRoleAssignment objects for the RBAC provider. The following RBAC providers are currently supported:- directory (Azure AD)- entitlement management (Azure AD) diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Count/CountRequestBuilder.cs index a999116dd7e..f5057a7780c 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs index 07d0ba48420..46d08656645 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs index 8cca99de0cf..a13edd64610 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/InheritsPermissionsFromRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to inheritsPermissionsFrom for roleManagement @@ -79,7 +79,7 @@ public async Task PostAsync(UnifiedRoleDefinition body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles (isBuiltIn is true) support this attribute. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 7b2a4e4dc6b..611682e71c6 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/InheritsPermissionsFrom/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read-only collection of role definitions that the given role definition inherits from. Only Azure AD built-in roles (isBuiltIn is true) support this attribute. Supports $expand. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property inheritsPermissionsFrom in roleManagement @@ -85,7 +85,7 @@ public async Task PatchAsync(UnifiedRoleDefinition body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property inheritsPermissionsFrom for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs index 08172d5f4b6..eacafc7939a 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/Item/UnifiedRoleDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a unifiedRoleDefinition object. The following role-based access control (RBAC) providers are currently supported: @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a unifiedRoleDefinition object. You cannot update built-in roles. This feature requires an Azure AD Premium P1 or P2 license. @@ -93,7 +93,7 @@ public async Task PatchAsync(UnifiedRoleDefinition body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a unifiedRoleDefinition object. You cannot delete built-in roles. This feature requires an Azure AD Premium P1 or P2 license. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs index 993d03c0a03..eca939b7391 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleDefinitions/RoleDefinitionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new custom unifiedRoleDefinition object. This feature requires an Azure AD Premium P1 or P2 license. @@ -81,7 +81,7 @@ public async Task PostAsync(UnifiedRoleDefinition body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of unifiedRoleDefinition objects for the provider. The following RBAC providers are currently supported:- directory (Azure AD)- entitlement management (Azure AD) diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs index 3d8e0299d20..eeb1dfdb931 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index f9f507dd085..197c749957f 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs index 2a7bde4207f..5ba223ecc30 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the assignment or role eligibility is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 72b7f04b558..eb8888dcf3d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the assignment or role eligibility. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs index 47c7e203d83..f7c80ab2ea3 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or role eligibility through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 9b09e554569..f22efae51b4 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs index a822897229a..e9f1464acbd 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/Item/UnifiedRoleEligibilityScheduleInstanceItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Get the instance of a role eligibility. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleEligibilityScheduleInstances in roleManagement @@ -106,7 +106,7 @@ public async Task PatchAsync(UnifiedRole {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleEligibilityScheduleInstances for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs index 980b4e122d7..cc591a5643d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleInstances/RoleEligibilityScheduleInstancesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetA {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleEligibilityScheduleInstances for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleE {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleInstance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the instances of role eligibilities. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs index 7e3ebf50cdc..91f3d6b3cc7 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 33e7bd83f68..6a8877ce969 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs index 874a4703334..dd9bef39775 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the role eligibility is scoped to an app. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs index bcbee1b8a32..ab10d0f218b 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Cancel/CancelRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Immediately cancel a unifiedRoleEligibilityScheduleRequest object whose status is Granted and have the system automatically delete the cancelled request after 30 days. After calling this action, the status of the cancelled unifiedRoleEligibilityScheduleRequest changes to Revoked. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index b6e7ad8bbe8..f297ebeafab 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the role eligibility. Read-only. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs index 42f76bb3c9e..25eb5c506d3 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role eligibility through the request. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index 9884142b88b..0a975b517ce 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the unifiedRoleDefinition object that is referenced through the roleDefinitionId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs index 592ee0dc1a8..37424a710aa 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/TargetSchedule/TargetScheduleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The schedule for a role eligibility that is referenced through the targetScheduleId property. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs index 171367223bc..e97ce6a74f2 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/Item/UnifiedRoleEligibilityScheduleRequestItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// In PIM, read the details of a request for for a role eligibility request made through the unifiedRoleEligibilityScheduleRequest object. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleEligibilityScheduleRequests in roleManagement @@ -116,7 +116,7 @@ public async Task PatchAsync(UnifiedRoleE {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleEligibilityScheduleRequests for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs index 47440afca05..3e43d57b112 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilityScheduleRequests/RoleEligibilityScheduleRequestsRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In PIM, request for a role eligibility for a principal through the unifiedRoleEligibilityScheduleRequest object. This operation allows both admins and eligible users to add, revoke, or extend eligible assignments. @@ -90,7 +90,7 @@ public async Task PostAsync(UnifiedRoleEl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// In PIM, retrieve the requests for role eligibilities for principals made through the unifiedRoleEligibilityScheduleRequest object. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Count/CountRequestBuilder.cs index c2e76725d68..39e81180b26 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs index 51f9cddcae0..6626a1a5d2a 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/FilterByCurrentUserWithOn/FilterByCurrentUserWithOnRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterByCurrentUserWithOnResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterByCurrentUser diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs index aefdc0c5578..745b8e39110 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/AppScope/AppScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public AppScopeRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AppScope.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read-only property with details of the app-specific scope when the role eligibility or assignment is scoped to an app. Nullable. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs index 869d6e442b3..2a5e89da40a 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/DirectoryScope/DirectoryScopeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The directory object that is the scope of the role eligibility or assignment. Read-only. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs index 0d0bb25f591..c2cce0308bd 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/Principal/PrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The principal that's getting a role assignment or that's eligible for a role through the request. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs index adc5e137777..5a92f07572f 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/RoleDefinition/RoleDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Detailed information for the roleDefinition object that is referenced through the roleDefinitionId property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs index 3cba77e068a..b96ed165a34 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/Item/UnifiedRoleEligibilityScheduleItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the schedule for a role eligibility operation. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property roleEligibilitySchedules in roleManagement @@ -106,7 +106,7 @@ public async Task PatchAsync(UnifiedRoleEligibil {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property roleEligibilitySchedules for roleManagement diff --git a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs index f2c3ec5924f..82b4baa15ab 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/EntitlementManagement/RoleEligibilitySchedules/RoleEligibilitySchedulesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilityScheduleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to roleEligibilitySchedules for roleManagement @@ -89,7 +89,7 @@ public async Task PostAsync(UnifiedRoleEligibili {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedRoleEligibilitySchedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the unifiedRoleEligibilitySchedule resources from the roleEligibilitySchedules navigation property. diff --git a/src/Microsoft.Graph/Generated/RoleManagement/RoleManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/RoleManagement/RoleManagementRequestBuilder.cs index a40d3b3e98d..27572529a7d 100644 --- a/src/Microsoft.Graph/Generated/RoleManagement/RoleManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/RoleManagement/RoleManagementRequestBuilder.cs @@ -55,7 +55,7 @@ public RoleManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update roleManagement @@ -76,7 +76,7 @@ public RoleManagementRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.RoleManagement.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get roleManagement diff --git a/src/Microsoft.Graph/Generated/SchemaExtensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/SchemaExtensions/Count/CountRequestBuilder.cs index ffdd9d43008..fb36aa0590c 100644 --- a/src/Microsoft.Graph/Generated/SchemaExtensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/SchemaExtensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs index 87057fded20..71faaa89d6b 100644 --- a/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/SchemaExtensions/Item/SchemaExtensionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get schemaExtension @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SchemaExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchemaExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update properties in the definition of the specified schemaExtension. Additive updates to the extension can only be made when the extension is in the InDevelopment or Available status. This means custom properties or target resource types cannot be removed from the definition, but new custom properties can be added and the description of the extension changed. The update applies to all the resources that are included in the targetTypes property of the extension. These resources are among the supporting resource types. For delegated flows, the signed-in user can update a schema extension as long as the owner property of the extension is set to the appId of an application the signed-in user owns. That application can be the one that initially created the extension, or some other application owned by the signed-in user. This criteria for the owner property allows a signed-in user to make updates through other applications they don't own, such as Microsoft Graph Explorer. When using Graph Explorer to update a schemaExtension resource, include the owner property in the PATCH request body. @@ -88,7 +88,7 @@ public async Task PatchAsync(SchemaExtension body, Action(requestInfo, SchemaExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchemaExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the definition of a schema extension. Only the app that created the schema extension (owner app) can delete the schema extension definition, and only when the extension is in the InDevelopment state. Deleting a schema extension definition does not affect accessing custom data that has been added to resource instances based on that definition. diff --git a/src/Microsoft.Graph/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.cs index 5a649ae7c1e..aa31881f8d3 100644 --- a/src/Microsoft.Graph/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/SchemaExtensions/SchemaExtensionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SchemaExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchemaExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new schemaExtension definition and its associated schema extension property to extend a supporting resource type. Schema extensions let you add strongly-typed custom data to a resource. The app that creates a schema extension is the owner app. Depending on the state of the extension, the owner app, and only the owner app, may update or delete the extension. See examples of how to define a schema extension that describes a training course, use the schema extension definition to create a new group with training course data, and add training course data to an existing group. @@ -81,7 +81,7 @@ public async Task PostAsync(SchemaExtension body, Action(requestInfo, SchemaExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchemaExtension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of schemaExtension objects in your tenant. The schema extensions can be InDevelopment, Available, or Deprecated and includes schema extensions:+ Created by any apps you own in the current tenant.+ Owned by other apps that are marked as Available.+ Created by other developers from other tenants and marked as Available. This is different from other APIs that only return tenant-specific data. Extension data created based on schema extension definitions is tenant-specific and can only be accessed by apps explicitly granted permission. diff --git a/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Count/CountRequestBuilder.cs index b4641da7130..81b5836e2ed 100644 --- a/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.cs index 46b17cd925c..1c376627a85 100644 --- a/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ScopedRoleMemberships/Item/ScopedRoleMembershipItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from scopedRoleMemberships by key @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in scopedRoleMemberships @@ -85,7 +85,7 @@ public async Task PatchAsync(ScopedRoleMembership body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from scopedRoleMemberships diff --git a/src/Microsoft.Graph/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.cs index ec978094bcd..e55db0ca58e 100644 --- a/src/Microsoft.Graph/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ScopedRoleMemberships/ScopedRoleMembershipsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to scopedRoleMemberships @@ -79,7 +79,7 @@ public async Task PostAsync(ScopedRoleMembership body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from scopedRoleMemberships diff --git a/src/Microsoft.Graph/Generated/Search/Query/QueryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Search/Query/QueryRequestBuilder.cs index 7515d8685d5..61f42a5d82e 100644 --- a/src/Microsoft.Graph/Generated/Search/Query/QueryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Search/Query/QueryRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(QueryPostRequestBody body, Action(requestInfo, QueryResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, QueryResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Runs the query specified in the request body. Search results are provided in the response. diff --git a/src/Microsoft.Graph/Generated/Search/SearchRequestBuilder.cs b/src/Microsoft.Graph/Generated/Search/SearchRequestBuilder.cs index 6e587e0ce61..8b936ea8eb7 100644 --- a/src/Microsoft.Graph/Generated/Search/SearchRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Search/SearchRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, SearchEntity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SearchEntity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update search @@ -71,7 +71,7 @@ public async Task PatchAsync(SearchEntity body, Action(requestInfo, SearchEntity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SearchEntity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get search diff --git a/src/Microsoft.Graph/Generated/Security/Alerts/AlertsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts/AlertsRequestBuilder.cs index ab2c7804f31..d3c724ae9d3 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts/AlertsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts/AlertsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AlertCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AlertCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to alerts for security @@ -80,7 +80,7 @@ public async Task PostAsync(Alert body, Action(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of alert objects. diff --git a/src/Microsoft.Graph/Generated/Security/Alerts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts/Count/CountRequestBuilder.cs index 0739ee82425..0ffe78f3949 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Alerts/Item/AlertItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts/Item/AlertItemRequestBuilder.cs index cbd3fa54c3c..f2e945e0a37 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts/Item/AlertItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts/Item/AlertItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an editable alert property within any integrated solution to keep alert status and assignments in sync across solutions. This method updates any solution that has a record of the referenced alert ID. @@ -68,7 +68,7 @@ public async Task PatchAsync(Alert body, Action(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of an alert object. diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs index 87aafaea0c2..5760caae497 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Alerts_v2RequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AlertCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AlertCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to alerts_v2 for security @@ -80,7 +80,7 @@ public async Task PostAsync(Alert body, Action(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of alert resources that have been created to track suspicious activities in an organization. This operation lets you filter and sort through alerts to create an informed cyber security response. It exposes a collection of alerts that were flagged in your network, within the time range you specified in your environment retention policy. The most recent alerts are displayed at the top of the list. diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Count/CountRequestBuilder.cs index 61297048052..a6fc1c8b941 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.cs index bcdb2556f26..33002e302cd 100644 --- a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/AlertItemRequestBuilder.cs @@ -1,6 +1,7 @@ // using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Alerts_v2.Item.Comments; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; @@ -14,6 +15,10 @@ namespace Microsoft.Graph.Security.Alerts_v2.Item { /// Provides operations to manage the alerts_v2 property of the microsoft.graph.security entity. /// public class AlertItemRequestBuilder : BaseRequestBuilder { + /// The comments property + public CommentsRequestBuilder Comments { get => + new CommentsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new AlertItemRequestBuilder and sets the default values. /// @@ -45,7 +50,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of an alert in an organization based on the specified alert id property. @@ -65,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an alert object in an organization based on the specified alert id property. @@ -87,7 +92,7 @@ public async Task PatchAsync(Alert body, Action(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property alerts_v2 for security diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.cs new file mode 100644 index 00000000000..63dbd849f4f --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/Comments/CommentsRequestBuilder.cs @@ -0,0 +1,110 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Alerts_v2.Item.Comments { + /// + /// Builds and executes requests for operations under \security\alerts_v2\{alert-id}\comments + /// + public class CommentsRequestBuilder : BaseRequestBuilder { + /// Provides operations to count the resources in the collection. + public CountRequestBuilder Count { get => + new CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new CommentsRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CommentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/alerts_v2/{alert%2Did}/comments", pathParameters) { + } + /// + /// Instantiates a new CommentsRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CommentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/alerts_v2/{alert%2Did}/comments", rawUrl) { + } + /// + /// Sets a new value for the collection of alertComment. + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task?> PostAsync(List body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task> PostAsync(List body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AlertComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return collectionResult?.ToList(); + } + /// + /// Sets a new value for the collection of alertComment. + /// + /// 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(List body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(List body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.POST, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + if (requestConfiguration != null) { + var requestConfig = new CommentsRequestBuilderPostRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public CommentsRequestBuilder WithUrl(string rawUrl) { + return new CommentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CommentsRequestBuilderPostRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new commentsRequestBuilderPostRequestConfiguration and sets the default values. + /// + public CommentsRequestBuilderPostRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/Comments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/Comments/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..1fba6522fd8 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Alerts_v2/Item/Comments/Count/CountRequestBuilder.cs @@ -0,0 +1,126 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Alerts_v2.Item.Comments.Count { + /// + /// Provides operations to count the resources in the collection. + /// + public class CountRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new CountRequestBuilder 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}/security/alerts_v2/{alert%2Did}/comments/$count{?%24search,%24filter}", pathParameters) { + } + /// + /// Instantiates a new CountRequestBuilder 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}/security/alerts_v2/{alert%2Did}/comments/$count{?%24search,%24filter}", rawUrl) { + } + /// + /// Get the number of the resource + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "text/plain"); + if (requestConfiguration != null) { + var requestConfig = new CountRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public CountRequestBuilder WithUrl(string rawUrl) { + return new CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + public 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. + /// + public class CountRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public CountRequestBuilderGetQueryParameters QueryParameters { get; set; } = new CountRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new CountRequestBuilderGetRequestConfiguration and sets the default values. + /// + public CountRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.cs index a27590a8bdd..3494f566b27 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/AttackSimulationRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Get attackSimulation from security @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, AttackSimulationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttackSimulationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attackSimulation in security @@ -95,7 +95,7 @@ public async Task PatchAsync(AttackSimulationRoot body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AttackSimulationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttackSimulationRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attackSimulation for security diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Count/CountRequestBuilder.cs index 60eef99c6a8..dcbccfcd8ab 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Count/CountRequestBuilder.cs index a848c71f395..c24b42502e3 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.cs index f95888282ca..33650dc6e11 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/Item/SimulationAutomationRunItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of simulation automation runs. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, SimulationAutomationRun.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomationRun.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property runs in security @@ -85,7 +85,7 @@ public async Task PatchAsync(SimulationAutomationRun bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SimulationAutomationRun.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomationRun.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property runs for security diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.cs index ca09383a488..e3dfb7b0b20 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/Runs/RunsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SimulationAutomationRunCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomationRunCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to runs for security @@ -80,7 +80,7 @@ public async Task PostAsync(SimulationAutomationRun bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SimulationAutomationRun.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomationRun.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the attack simulation automation runs for a tenant. diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.cs index 329fb43face..8181617948d 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/Item/SimulationAutomationItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get an attack simulation automation for a tenant. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, SimulationAutomation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property simulationAutomations in security @@ -91,7 +91,7 @@ public async Task PatchAsync(SimulationAutomation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SimulationAutomation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property simulationAutomations for security diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.cs index e8fa8607e9a..cb88b423610 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/SimulationAutomations/SimulationAutomationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SimulationAutomationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to simulationAutomations for security @@ -80,7 +80,7 @@ public async Task PostAsync(SimulationAutomation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SimulationAutomation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationAutomation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of attack simulation automations for a tenant. diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Count/CountRequestBuilder.cs index 013558b1829..4ecc91d488b 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs index d097656210d..84c608b8a1b 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/Item/SimulationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an attack simulation campaign for a tenant. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property simulations in security @@ -86,7 +86,7 @@ public async Task PatchAsync(Simulation body, Action(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property simulations for security diff --git a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs index b838fee3b1d..e96b5862900 100644 --- a/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/AttackSimulation/Simulations/SimulationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SimulationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SimulationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to simulations for security @@ -80,7 +80,7 @@ public async Task PostAsync(Simulation body, Action(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Simulation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of attack simulation campaigns for a tenant. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/CasesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/CasesRequestBuilder.cs index b8cd1449fbe..420c00cc100 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/CasesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/CasesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get cases from security @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, CasesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CasesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property cases in security @@ -90,7 +90,7 @@ public async Task PatchAsync(CasesRoot body, Action(requestInfo, CasesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CasesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property cases for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Count/CountRequestBuilder.cs index e47bf3dc95b..08079fe24a5 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.cs index 6e0b57bcb48..5f77afc9c3b 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/EdiscoveryCasesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryCaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new ediscoveryCase object. @@ -81,7 +81,7 @@ public async Task PostAsync(EdiscoveryCase body, Action(requestInfo, EdiscoveryCase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the ediscoveryCase objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Count/CountRequestBuilder.cs index b4fd3f451d4..ae1a367cbe9 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.cs index ee14bfa25e1..da0087b9670 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/CustodiansRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryCustodianCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCustodianCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new ediscoveryCustodian object.After the custodian object is created, you will need to create the custodian's userSource to reference their mailbox and OneDrive for Business site. @@ -91,7 +91,7 @@ public async Task PostAsync(EdiscoveryCustodian body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCustodian.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCustodian.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the custodian objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.cs index 6a6ff8c9bdb..b0808a6a6cd 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/EdiscoveryCustodianItemRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an ediscoveryCustodian object. @@ -110,7 +110,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryCustodian.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCustodian.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property custodians in security @@ -131,7 +131,7 @@ public async Task PatchAsync(EdiscoveryCustodian body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCustodian.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCustodian.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property custodians for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs index 4c79353b952..a4f746aac9d 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryIndexOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryIndexOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the ediscoveryIndexOperations associated with an ediscoveryCustodian. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.cs index 8cb2437a7b4..46862c95631 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityActivate/MicrosoftGraphSecurityActivateRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Activate a custodian that has been released from a case to make them part of the case again. For details, see Manage custodians in an eDiscovery (Premium) case. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs index 1bfd36c735c..1c5ecb4a180 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Start the process of applying hold on eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs index 53c8773e109..cc6029caccf 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Release a custodian from a case. For details, see Release a custodian from a case. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs index baeaf87e100..80e146fa5aa 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Start the process of removing hold from eDiscovery custodians. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs index 35b2515015d..b9d14910416 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Trigger an indexOperation to make a custodian and associated sources searchable. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Count/CountRequestBuilder.cs index 725adeb4daf..472c266c38d 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.cs index cf8ea4df3c6..c0e168db61c 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/Site/SiteRequestBuilder.cs @@ -45,7 +45,7 @@ public SiteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The SharePoint site associated with the siteSource. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.cs index d784f170390..4dd27b6c3e4 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/Item/SiteSourceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Data source entity for SharePoint sites associated with the custodian. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, SiteSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property siteSources in security @@ -90,7 +90,7 @@ public async Task PatchAsync(SiteSource body, Action(requestInfo, SiteSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property siteSources for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.cs index c3de34b868b..5325836c166 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/SiteSources/SiteSourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SiteSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new siteSource object associated with an eDiscovery custodian. @@ -81,7 +81,7 @@ public async Task PostAsync(SiteSource body, Action(requestInfo, SiteSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the siteSource objects associated with an ediscoveryCustodian. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Count/CountRequestBuilder.cs index a53603f1ede..6175b7c6d1d 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.cs index 077bcecd2b1..26f739c3a96 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/Group/GroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents a group. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.cs index 9fffb08757f..77991432cd3 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/Item/UnifiedGroupSourceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Data source entity for groups associated with the custodian. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedGroupSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedGroupSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property unifiedGroupSources in security @@ -90,7 +90,7 @@ public async Task PatchAsync(UnifiedGroupSource body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedGroupSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedGroupSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property unifiedGroupSources for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.cs index 1336f7f38c6..7891dad79e3 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UnifiedGroupSources/UnifiedGroupSourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UnifiedGroupSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedGroupSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new unifiedGroupSource object associated with an eDiscovery custodian. @@ -81,7 +81,7 @@ public async Task PostAsync(UnifiedGroupSource body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UnifiedGroupSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UnifiedGroupSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the unifiedGroupSource objects associated with an ediscoveryCustodian. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Count/CountRequestBuilder.cs index eec6e19512b..fb21274056d 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.cs index 461f794d5f8..8a7b13e9e42 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/Item/UserSourceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Data source entity for a the custodian. This is the container for a custodian's mailbox and OneDrive for Business site. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UserSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property userSources in security @@ -85,7 +85,7 @@ public async Task PatchAsync(UserSource body, Action(requestInfo, UserSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property userSources for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.cs index 8553674395f..d56e3c57e44 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/Item/UserSources/UserSourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UserSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new userSource object associated with an eDiscovery custodian. @@ -81,7 +81,7 @@ public async Task PostAsync(UserSource body, Action(requestInfo, UserSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the userSource objects associated with an ediscoveryCustodian. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs index 7ca7c5d5b70..d4741bf7f20 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyHoldPostRequestBody body, Action /// Invoke action applyHold diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs index d73e526cb07..6588d9eecea 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Custodians/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(RemoveHoldPostRequestBody body, Action /// Invoke action removeHold diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs index d2e8b18241a..d5dfa791323 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/EdiscoveryCaseItemRequestBuilder.cs @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an ediscoveryCase object. @@ -111,7 +111,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryCase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an ediscoveryCase object. @@ -133,7 +133,7 @@ public async Task PatchAsync(EdiscoveryCase body, Action(requestInfo, EdiscoveryCase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an ediscoveryCase object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.cs index e95b6b7920f..eaeedd84546 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityClose/MicrosoftGraphSecurityCloseRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Close an eDiscovery case. For details, see Close a case. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.cs index 0acf27e1057..5ae62149166 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/MicrosoftGraphSecurityReopen/MicrosoftGraphSecurityReopenRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reopen an eDiscovery case that was closed. For details, see Reopen a closed case. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Count/CountRequestBuilder.cs index 9e832f9cc9d..4a6de0fae58 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.cs index b7a88c46e3d..d67c62b5d4a 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/DataSource/DataSourceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// User source or SharePoint site data source as non-custodial data source. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property dataSource in security @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property dataSource for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs index b90490d93fc..ebe0c249d67 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Returns a list of case ediscoveryNoncustodialDataSource objects for this case. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property noncustodialDataSources in security @@ -115,7 +115,7 @@ public async Task PatchAsync(EdiscoveryNoncust {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property noncustodialDataSources for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs index b666c0c7ea6..1263c947110 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/LastIndexOperation/LastIndexOperationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryIndexOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryIndexOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Operation entity that represents the latest indexing for the non-custodial data source. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs index 8ff7719e58b..7917d647d83 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Start the process of applying hold on eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs index b2277992060..57d0ef64edd 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRelease/MicrosoftGraphSecurityReleaseRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Release the non-custodial data source from the case. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs index 52092844bc2..e2b9cd84f4b 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Start the process of removing hold from eDiscovery non-custodial data sources. After the operation is created, you can get the status by retrieving the Location parameter from the response headers. The location provides a URL that will return an eDiscoveryHoldOperation object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs index 98fc90b5531..5f7a378eaed 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/Item/MicrosoftGraphSecurityUpdateIndex/MicrosoftGraphSecurityUpdateIndexRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Trigger an indexOperation to make a non-custodial data source and its associated data source searchable. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs index c3aad9f99ce..b874be1b426 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityApplyHold/MicrosoftGraphSecurityApplyHoldRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ApplyHoldPostRequestBody body, Action /// Invoke action applyHold diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs index c2522498e96..36ef2ebebf0 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/MicrosoftGraphSecurityRemoveHold/MicrosoftGraphSecurityRemoveHoldRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(RemoveHoldPostRequestBody body, Action /// Invoke action removeHold diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.cs index 9e95f14c5d8..888f2a65e6d 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/NoncustodialDataSources/NoncustodialDataSourcesRequestBuilder.cs @@ -68,7 +68,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new ediscoveryNoncustodialDataSource object. @@ -90,7 +90,7 @@ public async Task PostAsync(EdiscoveryNoncusto {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns a list of case ediscoveryNoncustodialDataSource objects for this case. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Count/CountRequestBuilder.cs index 5c244cadbe3..39b7b1ff52b 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.cs index 2bf2ea882d7..e63c2b7c83e 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/Item/CaseOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a caseOperation object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, CaseOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CaseOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in security @@ -86,7 +86,7 @@ public async Task PatchAsync(CaseOperation body, Action(requestInfo, CaseOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CaseOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.cs index 96dabe3bd4d..bcb7fdd0940 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Operations/OperationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CaseOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CaseOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for security @@ -80,7 +80,7 @@ public async Task PostAsync(CaseOperation body, Action(requestInfo, CaseOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CaseOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the caseOperation objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Count/CountRequestBuilder.cs index 3ad5b7da4c6..b40cbfcdab8 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.cs index 172585a2b0c..d934e01b093 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/EdiscoveryReviewSetItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an ediscoveryReviewSet object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property reviewSets in security @@ -101,7 +101,7 @@ public async Task PatchAsync(EdiscoveryReviewSet body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property reviewSets for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.cs index d1db6428191..95f0fbaafae 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityAddToReviewSet/MicrosoftGraphSecurityAddToReviewSetRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddToReviewSetPostRequestBody body, Action /// Start the process of adding a collection from Microsoft 365 services to a review set. After the operation is created, you can get the status of the operation by retrieving the Location parameter from the response headers. The location provides a URL that will return a Add to review set operation. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs index 100b868de52..502b4b9763a 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ExportPostRequestBody body, Action /// Initiate an export from a ediscoveryReviewSet. For details, see Export documents from a review set in eDiscovery (Premium). diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Count/CountRequestBuilder.cs index 815a89b6851..051dbb57f66 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.cs index 92414666f3b..8d225029947 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/EdiscoveryReviewSetQueryItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an ediscoveryReviewSetQuery object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewSetQuery.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSetQuery.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an ediscoveryReviewSetQuery object. @@ -98,7 +98,7 @@ public async Task PatchAsync(EdiscoveryReviewSetQuery {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSetQuery.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSetQuery.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an ediscoveryReviewSetQuery object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.cs index da91cdb668a..9b6296005b3 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityApplyTags/MicrosoftGraphSecurityApplyTagsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ApplyTagsPostRequestBody body, Action /// Apply tags to files in an eDiscovery review set. For details, see Tag documents in a review set in eDiscovery. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs index d5d02cef1bd..3eba336597f 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/Item/MicrosoftGraphSecurityExport/MicrosoftGraphSecurityExportRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ExportPostRequestBody body, Action /// Initiate an export from a ediscoveryReviewSetQuery. For details, see Export documents from a review set in eDiscovery (Premium). diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.cs index 4c416cba620..e743a2bb024 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/Item/Queries/QueriesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewSetQueryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSetQueryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new ediscoveryReviewSetQuery object. @@ -81,7 +81,7 @@ public async Task PostAsync(EdiscoveryReviewSetQuery b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSetQuery.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSetQuery.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of queries associated with an eDiscovery review set. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.cs index 5070d3360b8..3ae9372fd77 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/ReviewSets/ReviewSetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new ediscoveryReviewSet object. @@ -81,7 +81,7 @@ public async Task PostAsync(EdiscoveryReviewSet body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of ediscoveryReviewSet objects associated with an eDiscovery case. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Count/CountRequestBuilder.cs index 796e14af22e..027b118f52c 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.cs index 2d5cbd5c693..b84c5b18c6a 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AddToReviewSetOperation/AddToReviewSetOperationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryAddToReviewSetOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryAddToReviewSetOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds the results of the eDiscovery search to the specified reviewSet. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.cs index 801dcea64c7..3630c9f3a23 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/AdditionalSourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new additional source associated with an eDiscovery search. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of additional sources associated with an eDiscovery search. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Count/CountRequestBuilder.cs index 02861eb912b..f334f3df060 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.cs index 97114b4df22..56bcf2eb511 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/AdditionalSources/Item/DataSourceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Adds an additional source to the eDiscovery search. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property additionalSources in security @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property additionalSources for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Count/CountRequestBuilder.cs index ce8da8223f1..d88e084cad5 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.cs index 19e3cab8ef7..d7a792b5d77 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/CustodianSourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of custodial data sources associated with an eDiscovery search. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.cs index 7af51d3f1b1..5c3aff95e1a 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/CustodianSources/Item/DataSourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Custodian sources that are included in the eDiscovery search. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.DataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a dataSource object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.cs index ab3d238f3ee..030bc01b983 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/EdiscoverySearchItemRequestBuilder.cs @@ -81,7 +81,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an ediscoverySearch object. @@ -101,7 +101,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoverySearch.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoverySearch.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an ediscoverySearch object. @@ -123,7 +123,7 @@ public async Task PatchAsync(EdiscoverySearch body, Action(requestInfo, EdiscoverySearch.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoverySearch.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an ediscoverySearch object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.cs index a703a15e9da..83d8908c47a 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/LastEstimateStatisticsOperation/LastEstimateStatisticsOperationRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryEstimateOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryEstimateOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the last ediscoveryEstimateOperation objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.cs index 9594086c4a9..5b1bebefd3b 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityEstimateStatistics/MicrosoftGraphSecurityEstimateStatisticsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Run an estimate of the number of emails and documents in the eDiscovery search. To learn more about searches in eDiscovery, see Collect data for a case in eDiscovery (Premium). diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.cs index cc3e71c260c..ff9bba36e0f 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/MicrosoftGraphSecurityPurgeData/MicrosoftGraphSecurityPurgeDataRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(PurgeDataPostRequestBody body, Action /// Delete Microsoft Teams messages contained in an eDiscovery search. You can collect and purge the following categories of Teams content:- Teams 1:1 chats - Chat messages, posts, and attachments shared in a Teams conversation between two people. Teams 1:1 chats are also called *conversations*.- Teams group chats - Chat messages, posts, and attachments shared in a Teams conversation between three or more people. Also called *1:N* chats or *group conversations*.- Teams channels - Chat messages, posts, replies, and attachments shared in a standard Teams channel.- Private channels - Message posts, replies, and attachments shared in a private Teams channel.- Shared channels - Message posts, replies, and attachments shared in a shared Teams channel. For more information about purging Teams messages, see:- eDiscovery solution series: Data spillage scenario - Search and purge- eDiscovery (Premium) workflow for content in Microsoft Teams diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Count/CountRequestBuilder.cs index bcf654f3476..e402e864cf5 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs index 7551df7d5ed..db07a8ed1d7 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/Item/EdiscoveryNoncustodialDataSourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// noncustodialDataSource sources that are included in the eDiscovery search @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an ediscoveryNoncustodialDataSource object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.cs index ec4676a0ec8..4c26ee4b698 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/Item/NoncustodialSources/NoncustodialSourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryNoncustodialDataSourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// noncustodialDataSource sources that are included in the eDiscovery search diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.cs index 3ff4bbdf7fa..01c040575ec 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Searches/SearchesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoverySearchCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoverySearchCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new ediscoverySearch object. @@ -81,7 +81,7 @@ public async Task PostAsync(EdiscoverySearch body, Action(requestInfo, EdiscoverySearch.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoverySearch.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of ediscoverySearch resources from an eDiscoveryCase object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.cs index 298fff50b71..e7dd515ec49 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/MicrosoftGraphSecurityResetToDefault/MicrosoftGraphSecurityResetToDefaultRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reset a caseSettings object to the default values. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.cs index f8aea5cc970..e4211088aef 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Settings/SettingsRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an ediscoveryCaseSettings object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryCaseSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCaseSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an ediscoveryCaseSettings object. @@ -92,7 +92,7 @@ public async Task PatchAsync(EdiscoveryCaseSettings body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCaseSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryCaseSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property settings for security diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Count/CountRequestBuilder.cs index 95f33e761cd..e221638a2b6 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs index 38c39fb9f8b..9ab88c6b86a 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/ChildTagsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns the tags that are a child of a tag. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Count/CountRequestBuilder.cs index 87c7e57d735..7d72622831a 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.cs index 8428f7ed594..6c90563b0c1 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/ChildTags/Item/EdiscoveryReviewTagItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns the tags that are a child of a tag. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.cs index 632ffef85e9..18a82d8684c 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/EdiscoveryReviewTagItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an ediscoveryReviewTag object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an ediscoveryReviewTag object. @@ -98,7 +98,7 @@ public async Task PatchAsync(EdiscoveryReviewTag body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an ediscoveryReviewTag object. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.cs index 6e21d49da0c..6fc7202a6a4 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/Item/Parent/ParentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Returns the parent tag of the specified tag. diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.cs index d9b292f56ef..5f3a315f881 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/MicrosoftGraphSecurityAsHierarchy/MicrosoftGraphSecurityAsHierarchyRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, AsHierarchyResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AsHierarchyResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function asHierarchy diff --git a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.cs index 17eaf0fdfee..bb0784bd802 100644 --- a/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Cases/EdiscoveryCases/Item/Tags/TagsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EdiscoveryReviewTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new ediscoveryReviewTag object. @@ -86,7 +86,7 @@ public async Task PostAsync(EdiscoveryReviewTag body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EdiscoveryReviewTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of eDiscoveryReviewTag objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/Count/CountRequestBuilder.cs index 0a8e3a0324c..5b4c5aff9f3 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs index 86aca551525..887bfe64787 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/IncidentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, IncidentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IncidentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to incidents for security @@ -80,7 +80,7 @@ public async Task PostAsync(Incident body, Action(requestInfo, Incident.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Incident.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of incident objects that Microsoft 365 Defender has created to track attacks in an organization. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. This operation allows you to filter and sort through incidents to create an informed cyber security response. It exposes a collection of incidents that were flagged in your network, within the time range you specified in your environment retention policy. The most recent incidents are displayed at the top of the list. diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.cs index 690c4d58bfc..36764bb69ee 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/AlertsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AlertCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AlertCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of related alerts. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Count/CountRequestBuilder.cs index a7f9b1c2273..970825d33be 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.cs index 59b2b5b3bd8..dd7d4dc0ebc 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/AlertItemRequestBuilder.cs @@ -1,6 +1,7 @@ // using Microsoft.Graph.Models.ODataErrors; using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Incidents.Item.Alerts.Item.Comments; using Microsoft.Kiota.Abstractions.Serialization; using Microsoft.Kiota.Abstractions; using System.Collections.Generic; @@ -14,6 +15,10 @@ namespace Microsoft.Graph.Security.Incidents.Item.Alerts.Item { /// Provides operations to manage the alerts property of the microsoft.graph.security.incident entity. /// public class AlertItemRequestBuilder : BaseRequestBuilder { + /// The comments property + public CommentsRequestBuilder Comments { get => + new CommentsRequestBuilder(PathParameters, RequestAdapter); + } /// /// Instantiates a new AlertItemRequestBuilder and sets the default values. /// @@ -45,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Alert.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of related alerts. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.cs new file mode 100644 index 00000000000..f87f7595c39 --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/Comments/CommentsRequestBuilder.cs @@ -0,0 +1,110 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Graph.Models.Security; +using Microsoft.Graph.Security.Incidents.Item.Alerts.Item.Comments.Count; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Incidents.Item.Alerts.Item.Comments { + /// + /// Builds and executes requests for operations under \security\incidents\{incident-id}\alerts\{alert-id}\comments + /// + public class CommentsRequestBuilder : BaseRequestBuilder { + /// Provides operations to count the resources in the collection. + public CountRequestBuilder Count { get => + new CountRequestBuilder(PathParameters, RequestAdapter); + } + /// + /// Instantiates a new CommentsRequestBuilder and sets the default values. + /// + /// Path parameters for the request + /// The request adapter to use to execute the requests. + public CommentsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/incidents/{incident%2Did}/alerts/{alert%2Did}/comments", pathParameters) { + } + /// + /// Instantiates a new CommentsRequestBuilder and sets the default values. + /// + /// The raw URL to use for the request builder. + /// The request adapter to use to execute the requests. + public CommentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/security/incidents/{incident%2Did}/alerts/{alert%2Did}/comments", rawUrl) { + } + /// + /// Sets a new value for the collection of alertComment. + /// + /// The request body + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER +#nullable enable + public async Task?> PostAsync(List body, Action? requestConfiguration = default, CancellationToken cancellationToken = default) { +#nullable restore +#else + public async Task> PostAsync(List body, Action requestConfiguration = default, CancellationToken cancellationToken = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = ToPostRequestInformation(body, requestConfiguration); + var errorMapping = new Dictionary> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AlertComment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); + return collectionResult?.ToList(); + } + /// + /// Sets a new value for the collection of alertComment. + /// + /// 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(List body, Action? requestConfiguration = default) { +#nullable restore +#else + public RequestInformation ToPostRequestInformation(List body, Action requestConfiguration = default) { +#endif + _ = body ?? throw new ArgumentNullException(nameof(body)); + var requestInfo = new RequestInformation { + HttpMethod = Method.POST, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "application/json"); + requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body); + if (requestConfiguration != null) { + var requestConfig = new CommentsRequestBuilderPostRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public CommentsRequestBuilder WithUrl(string rawUrl) { + return new CommentsRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Configuration for the request such as headers, query parameters, and middleware options. + /// + public class CommentsRequestBuilderPostRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// + /// Instantiates a new commentsRequestBuilderPostRequestConfiguration and sets the default values. + /// + public CommentsRequestBuilderPostRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/Comments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/Comments/Count/CountRequestBuilder.cs new file mode 100644 index 00000000000..b45084f38ca --- /dev/null +++ b/src/Microsoft.Graph/Generated/Security/Incidents/Item/Alerts/Item/Comments/Count/CountRequestBuilder.cs @@ -0,0 +1,126 @@ +// +using Microsoft.Graph.Models.ODataErrors; +using Microsoft.Kiota.Abstractions.Serialization; +using Microsoft.Kiota.Abstractions; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using System.Threading; +using System; +namespace Microsoft.Graph.Security.Incidents.Item.Alerts.Item.Comments.Count { + /// + /// Provides operations to count the resources in the collection. + /// + public class CountRequestBuilder : BaseRequestBuilder { + /// + /// Instantiates a new CountRequestBuilder 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}/security/incidents/{incident%2Did}/alerts/{alert%2Did}/comments/$count{?%24search,%24filter}", pathParameters) { + } + /// + /// Instantiates a new CountRequestBuilder 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}/security/incidents/{incident%2Did}/alerts/{alert%2Did}/comments/$count{?%24search,%24filter}", rawUrl) { + } + /// + /// Get the number of the resource + /// + /// Cancellation token to use when cancelling requests + /// Configuration for the request such as headers, query parameters, and middleware options. +#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> { + {"4XX", ODataError.CreateFromDiscriminatorValue}, + {"5XX", ODataError.CreateFromDiscriminatorValue}, + }; + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); + } + /// + /// Get the number of the resource + /// + /// 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 { + HttpMethod = Method.GET, + UrlTemplate = UrlTemplate, + PathParameters = PathParameters, + }; + requestInfo.Headers.Add("Accept", "text/plain"); + if (requestConfiguration != null) { + var requestConfig = new CountRequestBuilderGetRequestConfiguration(); + requestConfiguration.Invoke(requestConfig); + requestInfo.AddQueryParameters(requestConfig.QueryParameters); + requestInfo.AddRequestOptions(requestConfig.Options); + requestInfo.AddHeaders(requestConfig.Headers); + } + return requestInfo; + } + /// + /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + /// + /// The raw URL to use for the request builder. + public CountRequestBuilder WithUrl(string rawUrl) { + return new CountRequestBuilder(rawUrl, RequestAdapter); + } + /// + /// Get the number of the resource + /// + public 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. + /// + public class CountRequestBuilderGetRequestConfiguration { + /// Request headers + public RequestHeaders Headers { get; set; } + /// Request options + public IList Options { get; set; } + /// Request query parameters + public CountRequestBuilderGetQueryParameters QueryParameters { get; set; } = new CountRequestBuilderGetQueryParameters(); + /// + /// Instantiates a new CountRequestBuilderGetRequestConfiguration and sets the default values. + /// + public CountRequestBuilderGetRequestConfiguration() { + Options = new List(); + Headers = new RequestHeaders(); + } + } + } +} diff --git a/src/Microsoft.Graph/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.cs index b14c5bd6bdf..9d637571111 100644 --- a/src/Microsoft.Graph/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Incidents/Item/IncidentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an incident object. Attacks are typically inflicted on different types of entities, such as devices, users, and mailboxes, resulting in multiple alert objects. Microsoft 365 Defender correlates alerts with the same attack techniques or the same attacker into an incident. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, Incident.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Incident.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an incident object. @@ -92,7 +92,7 @@ public async Task PatchAsync(Incident body, Action(requestInfo, Incident.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Incident.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property incidents for security diff --git a/src/Microsoft.Graph/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.cs index c66c8054d83..f233c8147a9 100644 --- a/src/Microsoft.Graph/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/MicrosoftGraphSecurityRunHuntingQuery/MicrosoftGraphSecurityRunHuntingQueryRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RunHuntingQueryPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, HuntingQueryResults.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HuntingQueryResults.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action runHuntingQuery diff --git a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Count/CountRequestBuilder.cs index 77afdd91203..3561ba898b8 100644 --- a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs index 455367cb6ed..15b6830f8ca 100644 --- a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/Item/SecureScoreControlProfileItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an securescorecontrolprofile object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SecureScoreControlProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScoreControlProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an editable secureScoreControlProfile object within any integrated solution to change various properties, such as assignedTo or tenantNote. @@ -87,7 +87,7 @@ public async Task PatchAsync(SecureScoreControlProfil {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SecureScoreControlProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScoreControlProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property secureScoreControlProfiles for security diff --git a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.cs index 7bd151fe62d..2781ac54e4c 100644 --- a/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecureScoreControlProfiles/SecureScoreControlProfilesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SecureScoreControlProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScoreControlProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to secureScoreControlProfiles for security @@ -80,7 +80,7 @@ public async Task PostAsync(SecureScoreControlProfile {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SecureScoreControlProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScoreControlProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a secureScoreControlProfiles object. diff --git a/src/Microsoft.Graph/Generated/Security/SecureScores/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecureScores/Count/CountRequestBuilder.cs index ff5fbbb37dc..2583c108ff4 100644 --- a/src/Microsoft.Graph/Generated/Security/SecureScores/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecureScores/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.cs index 5cd064e1a21..fff98ed1e18 100644 --- a/src/Microsoft.Graph/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecureScores/Item/SecureScoreItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a secureScore object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SecureScore.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScore.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property secureScores in security @@ -86,7 +86,7 @@ public async Task PatchAsync(SecureScore body, Action(requestInfo, SecureScore.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScore.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property secureScores for security diff --git a/src/Microsoft.Graph/Generated/Security/SecureScores/SecureScoresRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecureScores/SecureScoresRequestBuilder.cs index 5dd7389fc66..2a91dad321b 100644 --- a/src/Microsoft.Graph/Generated/Security/SecureScores/SecureScoresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecureScores/SecureScoresRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SecureScoreCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScoreCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to secureScores for security @@ -80,7 +80,7 @@ public async Task PostAsync(SecureScore body, Action(requestInfo, SecureScore.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SecureScore.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of secureScore objects. diff --git a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs index 23f77c4c2ec..efae9808b75 100644 --- a/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SecurityRequestBuilder.cs @@ -105,7 +105,7 @@ public SecurityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Security.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Security.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update security @@ -126,7 +126,7 @@ public SecurityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Security.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Security.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get security diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilder.cs index de2d9206307..129b81f3427 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs index d545787123f..4333017fca3 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/ApproversRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get approvers from security diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs index 29214995449..13035103be7 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs index 338e014f8be..121e2c4eaae 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs index c287491a2ad..8dc6bdc846a 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Approvers/Item/UserItemRequestBuilder.cs @@ -50,7 +50,7 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get approvers from security diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs index ef4f353cafd..ca322c16d6d 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/CollaboratorsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get collaborators from security diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs index 30cab020f22..af7946b243b 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs index 9fbb4a73cfe..12ba1a6724b 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs index 8ff0881598d..61466c54619 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Collaborators/Item/UserItemRequestBuilder.cs @@ -50,7 +50,7 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get collaborators from security diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs index 1965f2409c1..551c65301e7 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalAttachment/GetFinalAttachmentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getFinalAttachment diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs index ed2d4200bf1..cf1939f246e 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/GetFinalReport/GetFinalReportRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getFinalReport diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs index eee7e007d3b..85c2aeb153e 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs index 0ee61603001..e092574e954 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/Item/AuthoredNoteItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// List of notes associcated with the request. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property notes in security @@ -85,7 +85,7 @@ public async Task PatchAsync(AuthoredNote body, Action(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property notes for security diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs index 2e1505edb32..21802f925e9 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Notes/NotesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AuthoredNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNoteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new authoredNote object. @@ -81,7 +81,7 @@ public async Task PostAsync(AuthoredNote body, Action(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthoredNote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of authored notes assoicated with a subject rights request. diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs index 873e151a795..b62c5e5e8ca 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/SubjectRightsRequestItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Get subjectRightsRequests from security @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property subjectRightsRequests in security @@ -115,7 +115,7 @@ public async Task PatchAsync(SubjectRightsRequest body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property subjectRightsRequests for security diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs index 5c37ca68d26..65acab13e93 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Information about the Microsoft Teams team that was created for the request. diff --git a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs index 05a2b068226..18183531b9c 100644 --- a/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/SubjectRightsRequests/SubjectRightsRequestsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SubjectRightsRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to subjectRightsRequests for security @@ -79,7 +79,7 @@ public async Task PostAsync(SubjectRightsRequest body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubjectRightsRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get subjectRightsRequests from security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.cs index 138c8692bf2..8e9268bf74d 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/ArticleIndicatorsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ArticleIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to articleIndicators for security @@ -79,7 +79,7 @@ public async Task PostAsync(ArticleIndicator body, Action(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of an articleIndicator object. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Count/CountRequestBuilder.cs index 887d4d45b62..4710d6f202e 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.cs index 154ef7a3f14..68043ad6d58 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/ArticleIndicatorItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an articleIndicator object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property articleIndicators in security @@ -91,7 +91,7 @@ public async Task PatchAsync(ArticleIndicator body, Action(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property articleIndicators for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.cs index bb914c57950..00fb57a23b0 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ArticleIndicators/Item/Artifact/ArtifactRequestBuilder.cs @@ -45,7 +45,7 @@ public ArtifactRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Artifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Artifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The artifact related to this indicator. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.cs index a1c676bd52e..52677bd8152 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/ArticlesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ArticleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to articles for security @@ -80,7 +80,7 @@ public async Task
PostAsync(Article body, Action(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync
(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of article objects, including their properties and relationships. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Count/CountRequestBuilder.cs index 282cc2a3861..2941157d123 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.cs index 35f6e092610..e1af7fc58fb 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/ArticleItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of an article object. @@ -70,7 +70,7 @@ public async Task
GetAsync(Action(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync
(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property articles in security @@ -91,7 +91,7 @@ public async Task
PatchAsync(Article body, Action(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync
(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property articles for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Count/CountRequestBuilder.cs index c788763263d..c88f48de272 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.cs index 94eacae54af..1205ace36cd 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/IndicatorsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ArticleIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of articleIndicator objects that represent indicators of threat or compromise related to the contents of an article. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.cs index e64cc0b7893..a0ebbdc1cf0 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Articles/Item/Indicators/Item/ArticleIndicatorItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicators related to this article. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Count/CountRequestBuilder.cs index 0461e8ec472..d14e1a54232 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.cs index 95b58d6381e..574406a29ec 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/HostComponentsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, HostComponentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostComponentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostComponents for security @@ -79,7 +79,7 @@ public async Task PostAsync(HostComponent body, Action(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a hostComponent object. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.cs index 62a15c79df7..a392cbe4101 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/Host/HostRequestBuilder.cs @@ -45,7 +45,7 @@ public HostRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The host related to this component. This is a reverse navigation property. When navigating to components from a host, this should be assumed to be a return reference. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.cs index 8b05dbe3811..d7f0238b3c8 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostComponents/Item/HostComponentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a hostComponent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostComponents in security @@ -91,7 +91,7 @@ public async Task PatchAsync(HostComponent body, Action(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostComponents for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Count/CountRequestBuilder.cs index 569f37c4a15..fd9bbe6af21 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.cs index 4d6985928ea..8f39ce5dbfd 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/HostCookiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, HostCookieCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostCookieCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostCookies for security @@ -79,7 +79,7 @@ public async Task PostAsync(HostCookie body, Action(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a hostCookie object. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.cs index 40cb9b56f60..f70e621ff50 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/Host/HostRequestBuilder.cs @@ -45,7 +45,7 @@ public HostRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Indicates that a cookie of this name and domain was found related to this host. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.cs index 9b3490a87b6..f4f8d1ea08a 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostCookies/Item/HostCookieItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a hostCookie object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostCookies in security @@ -91,7 +91,7 @@ public async Task PatchAsync(HostCookie body, Action(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostCookies for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Count/CountRequestBuilder.cs index 858047ce053..2ca57d5cc76 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.cs index 65add302934..3cce1f3b776 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/HostTrackersRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, HostTrackerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostTrackerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostTrackers for security @@ -79,7 +79,7 @@ public async Task PostAsync(HostTracker body, Action(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a hostTracker object. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.cs index 1da3d3592be..883a0a286b4 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/Host/HostRequestBuilder.cs @@ -45,7 +45,7 @@ public HostRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The host related to this hostTracker. When navigating to a hostTracker from a host, this should be assumed to be a return reference. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.cs index 80724c22741..52056852930 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/HostTrackers/Item/HostTrackerItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a hostTracker object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostTrackers in security @@ -91,7 +91,7 @@ public async Task PatchAsync(HostTracker body, Action(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostTrackers for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Count/CountRequestBuilder.cs index 83e0de85af2..f74c7e788d8 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.cs index bf64c7fe12f..44b1bc521f7 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/HostsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, HostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hosts for security @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.cs index bba005bc1ac..eabc237a264 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/ComponentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, HostComponentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostComponentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of hostComponent resources. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Count/CountRequestBuilder.cs index 447517d0a39..21e505ced16 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.cs index 6305c142b99..77bc69b6d06 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Components/Item/HostComponentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The hostComponents that are associated with this host. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.cs index 7a8d9d844c5..311309a6ab6 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/CookiesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, HostCookieCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostCookieCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of hostCookie resources. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Count/CountRequestBuilder.cs index 6a9293177e4..2dd3fea6809 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.cs index 5591489d8f9..4f2dc3f8d3f 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Cookies/Item/HostCookieItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostCookie.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The hostCookies that are associated with this host. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs index 79daa67de42..1d577be7d42 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/HostItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a host object. The host resource is the abstract base type that returns an implementation. A host can be of one of the following types: @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hosts in security @@ -116,7 +116,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hosts for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Count/CountRequestBuilder.cs index 6989a11f72f..76650207180 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.cs index cc51fd5ead7..10efd94c4ae 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/Item/PassiveDnsRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Passive DNS retrieval about this host. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.cs index f29930cd66b..2187cb66529 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDns/PassiveDnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PassiveDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of passiveDnsRecord resources associated to a host. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Count/CountRequestBuilder.cs index 75471919eca..05e79b8f0eb 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.cs index a93de44493a..ce8ba423a56 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/Item/PassiveDnsRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reverse passive DNS retrieval about this host. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.cs index 2c0ec1a3aba..0419e6c0d03 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/PassiveDnsReverse/PassiveDnsReverseRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PassiveDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of passiveDnsRecord resources. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.cs index 1d92f872a71..31a3b410983 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Reputation/ReputationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a hostReputation object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, HostReputation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostReputation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property reputation in security @@ -86,7 +86,7 @@ public async Task PatchAsync(HostReputation body, Action(requestInfo, HostReputation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostReputation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property reputation for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Count/CountRequestBuilder.cs index cee20dad06b..6ce8c66cc8c 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.cs index 6cf884ba24c..ab40ca235c3 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/Item/HostTrackerItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostTracker.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The hostTrackers that are associated with this host. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.cs index 70ee1d27b3e..65e489e39d1 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Hosts/Item/Trackers/TrackersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, HostTrackerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HostTrackerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of hostTracker resources. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Count/CountRequestBuilder.cs index 74cbbd350c7..518510e8d9a 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.cs index b8ca0e7a823..5cc1cf23f76 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/IntelProfilesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, IntelligenceProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to intelProfiles for security @@ -80,7 +80,7 @@ public async Task PostAsync(IntelligenceProfile body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the intelligenceProfile objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Count/CountRequestBuilder.cs index 91d787d064a..c6eb8b366b0 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.cs index 6c331844caa..4b6929b8350 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/IndicatorsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the intelligenceProfileIndicator resources from the indicators navigation property of an intelligenceProfile. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs index 22da2204c19..5647e5897ee 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/Indicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Includes an assemblage of high-fidelity network indicators of compromise. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.cs index d9005ecc276..012eb61c0eb 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelProfiles/Item/IntelligenceProfileItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a intelligenceProfile object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, IntelligenceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property intelProfiles in security @@ -91,7 +91,7 @@ public async Task PatchAsync(IntelligenceProfile body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfile.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property intelProfiles for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Count/CountRequestBuilder.cs index 891cd47475b..96f137e8c2e 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.cs index d2f2abdea68..4ac6dc4a6e5 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/IntelligenceProfileIndicatorsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicatorCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to intelligenceProfileIndicators for security @@ -79,7 +79,7 @@ public async Task PostAsync(IntelligenceProfileInd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a intelligenceProfileIndicator object. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.cs index 38996179b1f..e63ba395c31 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/Artifact/ArtifactRequestBuilder.cs @@ -45,7 +45,7 @@ public ArtifactRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Artifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Artifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The artifact related to this indicator. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs index eae178740cb..2abd80a91b9 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/IntelligenceProfileIndicators/Item/IntelligenceProfileIndicatorItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a intelligenceProfileIndicator object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property intelligenceProfileIndicators in security @@ -91,7 +91,7 @@ public async Task PatchAsync(IntelligenceProfileIn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IntelligenceProfileIndicator.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property intelligenceProfileIndicators for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Count/CountRequestBuilder.cs index e46e97b9527..93a79a62f7b 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.cs index 1ab00316201..7ab003abba9 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/Artifact/ArtifactRequestBuilder.cs @@ -45,7 +45,7 @@ public ArtifactRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Artifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Artifact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The artifact related to this passiveDnsRecord entry. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.cs index f07a4ba1639..8b6b29245f1 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/ParentHost/ParentHostRequestBuilder.cs @@ -45,7 +45,7 @@ public ParentHostRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.Host.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The parent host related to this passiveDnsRecord entry. Generally, this is the value that you can search to discover this passiveDnsRecord value. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.cs index 8ea1a66a8cc..2599eb609b6 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/Item/PassiveDnsRecordItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a passiveDnsRecord object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property passiveDnsRecords in security @@ -96,7 +96,7 @@ public async Task PatchAsync(PassiveDnsRecord body, Action(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property passiveDnsRecords for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.cs index 2f16891a31d..26e618ab78d 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/PassiveDnsRecords/PassiveDnsRecordsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, PassiveDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to passiveDnsRecords for security @@ -79,7 +79,7 @@ public async Task PostAsync(PassiveDnsRecord body, Action(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PassiveDnsRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a passiveDnsRecord object. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs index d308d2939ff..4851b37dcc8 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/ThreatIntelligenceRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// Get threatIntelligence from security @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.ThreatIntelligence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.ThreatIntelligence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property threatIntelligence in security @@ -135,7 +135,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.ThreatIntelligence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.ThreatIntelligence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property threatIntelligence for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Count/CountRequestBuilder.cs index 84c54b32f73..5ee6b141fdb 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.cs index 759323b4603..bf1e1af4b3b 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/ArticlesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ArticleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ArticleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Articles related to this vulnerability. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Count/CountRequestBuilder.cs index b8a2bf0118b..5ad0166eec3 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.cs index 9c136dc28b1..10d96d8561f 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Articles/Item/ArticleItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task
GetAsync(Action(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync
(requestInfo, Article.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Articles related to this vulnerability. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.cs index cf126c8b899..e2c0f614947 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/ComponentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, VulnerabilityComponentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VulnerabilityComponentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to components for security @@ -80,7 +80,7 @@ public async Task PostAsync(VulnerabilityComponent body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, VulnerabilityComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VulnerabilityComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the microsoft.graph.security.vulnerabilityComponent objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Count/CountRequestBuilder.cs index c0841528bb1..9d4b7628110 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.cs index 46bf3e2242b..1a6cc61eca2 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/Components/Item/VulnerabilityComponentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a vulnerabilityComponent object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, VulnerabilityComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VulnerabilityComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property components in security @@ -86,7 +86,7 @@ public async Task PatchAsync(VulnerabilityComponent body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, VulnerabilityComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VulnerabilityComponent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property components for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.cs index d63c814ef55..3034f32d239 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/Item/VulnerabilityItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a vulnerability object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, Vulnerability.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Vulnerability.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property vulnerabilities in security @@ -96,7 +96,7 @@ public async Task PatchAsync(Vulnerability body, Action(requestInfo, Vulnerability.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Vulnerability.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property vulnerabilities for security diff --git a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.cs index 3be2753233e..febc360ca33 100644 --- a/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/ThreatIntelligence/Vulnerabilities/VulnerabilitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, VulnerabilityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, VulnerabilityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to vulnerabilities for security @@ -79,7 +79,7 @@ public async Task PostAsync(Vulnerability body, Action(requestInfo, Vulnerability.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Vulnerability.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a vulnerability object. diff --git a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Count/CountRequestBuilder.cs index c842407490f..8f963d6864a 100644 --- a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs index 3fc1652b520..3769895775c 100644 --- a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/Item/RetentionEventTypeItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a retentionEventType object. @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property retentionEventTypes in security @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a retentionEventType object. diff --git a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs index 9de8f57d45f..2698d89a543 100644 --- a/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/TriggerTypes/RetentionEventTypes/RetentionEventTypesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RetentionEventTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RetentionEventTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new retentionEventType object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the retentionEventType objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.cs index 04fa35b8910..5a8716f71d4 100644 --- a/src/Microsoft.Graph/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/TriggerTypes/TriggerTypesRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get triggerTypes from security @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, TriggerTypesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TriggerTypesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property triggerTypes in security @@ -90,7 +90,7 @@ public async Task PatchAsync(TriggerTypesRoot body, Action(requestInfo, TriggerTypesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TriggerTypesRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property triggerTypes for security diff --git a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Count/CountRequestBuilder.cs index 4410d559eaf..8b9c4047430 100644 --- a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs index 5f22f77e177..b1c0d9454c1 100644 --- a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a retentionEvent object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property retentionEvents in security @@ -92,7 +92,7 @@ public async Task PatchAsync(RetentionEvent body, Action(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a retentionEvent object. diff --git a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.cs index ded34e3ddf4..437ba461efd 100644 --- a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/Item/RetentionEventType/RetentionEventTypeRequestBuilder.cs @@ -45,7 +45,7 @@ public RetentionEventTypeRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Security.RetentionEventType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Specifies the event that will start the retention period for labels that use this event type when an event is created. diff --git a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs index 098439368ea..7086ffba13d 100644 --- a/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Triggers/RetentionEvents/RetentionEventsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RetentionEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RetentionEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new retentionEvent object. @@ -81,7 +81,7 @@ public async Task PostAsync(RetentionEvent body, Action(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RetentionEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the retentionEvent objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Security/Triggers/TriggersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Security/Triggers/TriggersRequestBuilder.cs index 4d4f0ff9cbd..06088ab3bec 100644 --- a/src/Microsoft.Graph/Generated/Security/Triggers/TriggersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Security/Triggers/TriggersRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get triggers from security @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, TriggersRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TriggersRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property triggers in security @@ -90,7 +90,7 @@ public async Task PatchAsync(TriggersRoot body, Action(requestInfo, TriggersRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TriggersRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property triggers for security diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Count/CountRequestBuilder.cs index 5c9fb535d85..7a730f78b26 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs index efa2631f906..2dc889697f0 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 98a4e7dc241..e1025f177df 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.cs index 91baff556ac..a646208406e 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs index 6894f07efaf..a445184b68f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddKey/AddKeyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddKeyPostRequestBody body, Action(requestInfo, KeyCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, KeyCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.cs index 6ca39d9eb71..de5934a0fb6 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddPassword/AddPasswordRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddPasswordPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a strong password or secret to a servicePrincipal object. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.cs index 8015b5bdf77..704330dd061 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AddTokenSigningCertificate/AddTokenSigningCertificateRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddTokenSigningCertificatePos {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SelfSignedCertificate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SelfSignedCertificate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a self-signed signing certificate and return a selfSignedCertificate object, which is the public part of the generated certificate. The self-signed signing certificate is composed of the following objects, which are added to the servicePrincipal: + The keyCredentials object with the following objects: + A private key object with usage set to Sign. + A public key object with usage set to Verify.+ The passwordCredentials object. All the objects have the same value of customKeyIdentifier. The passwordCredential is used to open the PFX file (private key). It and the associated private key object have the same value of keyId. When set during creation through the displayName property, the subject of the certificate cannot be updated. The startDateTime is set to the same time the certificate is created using the action. The endDateTime can be up to three years after the certificate is created. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs index 92357c667d6..6fd520ea242 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/AppManagementPoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AppManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The appManagementPolicy applied to this application. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Count/CountRequestBuilder.cs index 0f4c6c97d87..0cd0f1d075d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs index 4114ba85a5e..27408a14a05 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppManagementPolicies/Item/AppManagementPolicyItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The appManagementPolicy applied to this application. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppManagementPolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an appManagementPolicy policy object from an application or service principal object. When you remove the appManagementPolicy, the application or service principal adopts the tenant-wide tenantAppManagementPolicy setting. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.cs index bdfa025159c..eca1bcf9766 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/AppRoleAssignedToRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign an app role for a resource service principal, to a user, group, or client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment, you need three identifiers: @@ -81,7 +81,7 @@ public async Task PostAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of appRoleAssignment that users, groups, or client service principals have been granted for the given resource service principal. For example, if the resource service principal is the service principal for the Microsoft Graph API, this will return all service principals that have been granted any app-only permissions to Microsoft Graph. If the resource service principal is an application that has app roles granted to users and groups, this will return all the users and groups assigned app roles for this application. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Count/CountRequestBuilder.cs index 315db8bf7c3..6d70c70b847 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.cs index 8caaf1bbb59..fd6c57ed23b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignedTo/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// App role assignments for this app or service, granted to users, groups, and other service principals. Supports $expand. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appRoleAssignedTo in servicePrincipals @@ -86,7 +86,7 @@ public async Task PatchAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes an appRoleAssignment that a user, group, or client service principal has been granted for a resource service principal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs index 0f935890df2..5ca1677b5ce 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign an app role to a client service principal. App roles that are assigned to service principals are also known as application permissions. Application permissions can be granted directly with app role assignments, or through a consent experience. To grant an app role assignment to a client service principal, you need three identifiers: @@ -81,7 +81,7 @@ public async Task PostAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// App role assignment for another app or service, granted to this service principal. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Count/CountRequestBuilder.cs index e651c03f68b..7d778dadeb1 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs index d4acc104b80..4501f083986 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// App role assignment for another app or service, granted to this service principal. Supports $expand. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appRoleAssignments in servicePrincipals @@ -86,7 +86,7 @@ public async Task PatchAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes an appRoleAssignment that a service principal has been granted. App roles which are assigned to service principals are also known as application permissions. Deleting an app role assignment for a service principal is equivalent to revoking the app-only permission grant. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 10f1f668003..9c7676bc499 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 4a9af8df83d..b1785cdeca4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs index 2c51001096a..94286a0cf79 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/ClaimsMappingPoliciesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ClaimsMappingPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ClaimsMappingPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the claimsMappingPolicy objects that are assigned to a servicePrincipal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Count/CountRequestBuilder.cs index 9e65c92f85d..5be4dec9217 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.cs index c3b642ee9f7..e6976dbb35a 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a claimsMappingPolicy from a servicePrincipal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs index 316a39927fd..672667f6dc7 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ClaimsMappingPolicies/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign a claimsMappingPolicy to a servicePrincipal. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// List the claimsMappingPolicy objects that are assigned to a servicePrincipal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Count/CountRequestBuilder.cs index 7667de5552a..fafeaf680ae 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs index 86fd8a6afc3..3c796686313 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects created by this service principal. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs index 8de73d7a05c..29423ba722f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index df7d4c36ca1..84a7eae6e72 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs index 823bc749e63..b15617ad3da 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects created by this service principal. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 245fbc87757..65b38482080 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Count/CountRequestBuilder.cs index 9101e4c65d3..406234b874f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.cs index 616f9f34701..3f5d2b21cfc 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/DelegatedPermissionClassificationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedPermissionClassificationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedPermissionClassificationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Classify a delegated permission by adding a delegatedPermissionClassification to the servicePrincipal representing the API. @@ -81,7 +81,7 @@ public async Task PostAsync(DelegatedPermissi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedPermissionClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedPermissionClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.cs index c021610f16f..22d1f20143d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/DelegatedPermissionClassifications/Item/DelegatedPermissionClassificationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get delegatedPermissionClassifications from servicePrincipals @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedPermissionClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedPermissionClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property delegatedPermissionClassifications in servicePrincipals @@ -86,7 +86,7 @@ public async Task PatchAsync(DelegatedPermiss {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedPermissionClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedPermissionClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a delegatedPermissionClassification which had previously been set for a delegated permission. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Count/CountRequestBuilder.cs index 6c198dc0378..9567de016be 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.cs index 272db1fe460..b426f57a057 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/EndpointsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to endpoints for servicePrincipals @@ -79,7 +79,7 @@ public async Task PostAsync(Endpoint body, Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get endpoints from servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.cs index 041db00d5f4..8f0b239aecd 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Endpoints/Item/EndpointItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get endpoints from servicePrincipals @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property endpoints in servicePrincipals @@ -85,7 +85,7 @@ public async Task PatchAsync(Endpoint body, Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property endpoints for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs index d93592013c9..b952cbba92c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs index 996720e216f..c3afa5e55a5 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/FederatedIdentityCredentialsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredentialCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredentialCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to federatedIdentityCredentials for servicePrincipals @@ -79,7 +79,7 @@ public async Task PostAsync(FederatedIdentityCreden {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Federated identities for a specific type of service principal - managed identity. Supports $expand and $filter (/$count eq 0, /$count ne 0). diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs index cb84392ab86..0530d2c1a38 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/FederatedIdentityCredentials/Item/FederatedIdentityCredentialItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Federated identities for a specific type of service principal - managed identity. Supports $expand and $filter (/$count eq 0, /$count ne 0). @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property federatedIdentityCredentials in servicePrincipals @@ -85,7 +85,7 @@ public async Task PatchAsync(FederatedIdentityCrede {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FederatedIdentityCredential.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property federatedIdentityCredentials for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 9d99317c3a5..7672179b8f5 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 5dd7ac6d25c..6ca34be251f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs index 1cd20866221..870ad6d17c0 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs index 2e5791b9009..6c74e13e0e7 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/HomeRealmDiscoveryPoliciesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, HomeRealmDiscoveryPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, HomeRealmDiscoveryPolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.cs index 2ff6cc853c3..2f124ad408c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove a homeRealmDiscoveryPolicy from a servicePrincipal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs index 89a0e41dbaa..33e14adc5be 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/HomeRealmDiscoveryPolicies/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign a homeRealmDiscoveryPolicy to a servicePrincipal. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// List the homeRealmDiscoveryPolicy objects that are assigned to a servicePrincipal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Count/CountRequestBuilder.cs index 76b777fcb80..f01c6500359 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 241331d3dc9..d52755e90c7 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index f927578faeb..9a4d711de36 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs index 2381328b100..aed5e9d30fc 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index f8a9c49c965..21bda6b6842 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index bc057640720..d481486c14f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index c1e5d73419f..39b36769212 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 6873e477a63..aadfd706624 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index fc91cde91a2..efd76fb6f28 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index c5b43ca1d98..024f566bc3e 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index ea0b909b3f8..cecd03f9278 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.cs index d719fc5b5ee..1ec8e509580 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/MemberOf/MemberOfRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Roles that this service principal is a member of. HTTP Methods: GET Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs index f7f803c3771..fcbf0ef6fba 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs index 5f800fc6015..36674b113ac 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs index 34f3912bc27..679dcc3f4da 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Count/CountRequestBuilder.cs index bf3c2f4425a..8e68be249fb 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 048c9d5b76f..c0b9d705bc0 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index bc95c106be4..45560cd0261 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs index 0aff1d801da..5d1e749a376 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs index 5ef86adadfb..a221b17c42b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/Count/CountRequestBuilder.cs index 98f1b9e6f9a..37ad006a837 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.cs index c113e29ac75..bbbdf8c328c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs index 6b1b5dbd298..b4be76edc45 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs index e631b9bf7ff..179730fd584 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs index d74edfb3cd9..c80ff1d1360 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 94b0cd95e61..d3c63e04863 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs index 44440c64c12..ef2b5bf7ea2 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 2b6e15ce4fd..5d3c7b8feb3 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs index 6181d853086..be4071677ae 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 3597b6c7792..65778a64266 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs index f74b5caf27c..9279c54c990 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index aed90145f98..d905b4a971b 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs index 301749522d0..f299b5768da 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs @@ -83,7 +83,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owned by this service principal. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Count/CountRequestBuilder.cs index 3cf291d1a1c..3baf7f45871 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 6d533b82c17..f3896714b85 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 719fb1e03a9..60229a1abbb 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs index ada4e0caf19..6f5ae0b140d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs index 452c9375074..ba3f61fb92d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs index be3891bb983..09e2e4d2e93 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 8983528fbda..2229af2c093 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/Count/CountRequestBuilder.cs index cf097ca61d6..d35797c16c4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.cs index aceddcf06d2..79bfe1d5e73 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index cd48170152c..69df2dce9c2 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 2dc316b5a70..50e22b2a749 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index c0ae621ef8e..15a91f1f851 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs index 7ce9dba4aaf..26123935ba6 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.cs index 0819413958c..cd8cdbbfa30 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Item/Ref/RefRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Remove an owner from a servicePrincipal object. As a recommended best practice, service principals should have at least two owners. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs index 2fa99f79b06..346f8a148de 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/OwnersRequestBuilder.cs @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs index 4a9826e0be8..3bd0352bf4e 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Owners/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an owner for the servicePrincipal. Service principal owners can be users, the service principal itself, or other service principals. @@ -68,7 +68,7 @@ public async Task PostAsync(ReferenceCreate body, Action /// Directory objects that are owners of this servicePrincipal. The owners are a set of non-admin users or servicePrincipals who are allowed to modify this object. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.cs index 7a41dc32f17..5cf4cc370bb 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemoveKey/RemoveKeyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemoveKeyPostRequestBody body, Action /// Remove a key credential from a servicePrincipal. This method along with addKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.cs index aa995b16e21..4040ec62074 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/RemovePassword/RemovePasswordRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemovePasswordPostRequestBody body, Action /// Remove a password from a servicePrincipal object. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs index 859ea5bbe30..d9b3f18071c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs index 791c4f30179..886f81673d1 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/ServicePrincipalItemRequestBuilder.cs @@ -181,7 +181,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a servicePrincipal object. @@ -201,7 +201,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in servicePrincipals @@ -222,7 +222,7 @@ public async Task PatchAsync(ServicePrincipal body, Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a servicePrincipal object. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs index 950b341e8b8..ab7129b06dc 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/AcquireAccessToken/AcquireAccessTokenRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcquireAccessTokenPostRequestBody body, Action /// Acquire an OAuth access token to authorize the Azure AD provisioning service to provision users into an application. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs index aa6ce47c0fa..2015b962034 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs index 21d217581b8..23d6959c852 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Pause/PauseRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Temporarily stop a running synchronization job. All the progress, including job state, is persisted, and the job will continue from where it left off when a start call is made. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs index 7af31644680..4170b908d4a 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ProvisionOnDemand/ProvisionOnDemandRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ProvisionOnDemandPostReque {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, StringKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StringKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs index 28f826c5a81..5c6e149f649 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Restart/RestartRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RestartPostRequestBody body, Action /// Restart a stopped synchronization job, forcing it to reprocess all the objects in the directory. Optionally clears existing the synchronization state and previous errors. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs index dd1d5a657aa..8df0c473ebf 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs index 3fb9b73a4ec..f9340dbdc53 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/DirectoriesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to directories for servicePrincipals @@ -79,7 +79,7 @@ public async Task PostAsync(DirectoryDefinition body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the collection of directories and all of their objects. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs index 582ebba23f6..1c78b28292e 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Contains the collection of directories and all of their objects. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property directories in servicePrincipals @@ -90,7 +90,7 @@ public async Task PatchAsync(DirectoryDefinition body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property directories for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index d9215f8f065..842768e997e 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Discover the latest schema definition for provisioning to an application. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index bc2883f3be8..9c2fa013b74 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterOperators diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs index 14c678d05c3..930dc836b02 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function functions diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index 977e932e2c5..5f6a2070328 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ParseExpressionPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Azure Active Directory. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs index 8c9d60761a2..51d0539ff60 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Schema/SchemaRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the schema for a given synchronization job or template. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the synchronization schema for a given job or template. This method fully replaces the current schema with the one provided in the request. To update the schema of a template, make the call on the application object. You must be the owner of the application. @@ -107,7 +107,7 @@ public async Task PatchAsync(SynchronizationSchema body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schema for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs index 2b81545d1e5..5fa1312118c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/Start/StartRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Start an existing synchronization job. If the job is in a paused state, it will continue processing changes from the point where it was paused. If the job is in quarantine, the quarantine status will be cleared. Do not create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs index 48d7ef16acb..6711dd1186f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/SynchronizationJobItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Retrieve the existing synchronization job and its properties. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property jobs in servicePrincipals @@ -117,7 +117,7 @@ public async Task PatchAsync(SynchronizationJob body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Stop the synchronization job, and permanently delete all the state associated with it. Synchronized accounts are left as-is. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index f1c7a1a1f7b..5413e049ce4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/Item/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidateCredentialsPostRequestBody body, Action /// Validate that the credentials are valid in the tenant. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs index b3b669224e0..5913a6af7b5 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/JobsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJobCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new synchronization job with a default synchronization schema. The job is created in a disabled state. Call Start job to start synchronization. @@ -86,7 +86,7 @@ public async Task PostAsync(SynchronizationJob body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationJob.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List existing jobs for a given application instance (service principal). diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs index 346c2852fe9..429683b1560 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Jobs/ValidateCredentials/ValidateCredentialsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(ValidateCredentialsPostRequestBody body, Action /// Invoke action validateCredentials diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs index 662e5778fdc..6113335f7da 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs index c672c82268a..6ccba2b9673 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Secrets/SecretsRequestBuilder.cs @@ -52,7 +52,7 @@ public async Task> PutAsync(List(requestInfo, SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, SynchronizationSecretKeyStringValuePair.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); return collectionResult?.ToList(); } /// diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs index 21f22d78517..044d695bc9c 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/SynchronizationRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API. @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property synchronization in servicePrincipals @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Synchronization.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property synchronization for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Count/CountRequestBuilder.cs index 3c6899ded0d..25e8da97332 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs index 9c95bfe27e6..3b3cf772bee 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs index 34903f48d25..802f3340021 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/DirectoriesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to directories for servicePrincipals @@ -79,7 +79,7 @@ public async Task PostAsync(DirectoryDefinition body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Contains the collection of directories and all of their objects. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs index f222c7492c6..2dcf4a445b4 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/DirectoryDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Contains the collection of directories and all of their objects. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property directories in servicePrincipals @@ -90,7 +90,7 @@ public async Task PatchAsync(DirectoryDefinition body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property directories for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs index e9d678ba1a4..65b68590834 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Directories/Item/Discover/DiscoverRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Discover the latest schema definition for provisioning to an application. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs index bbaecbbbd6c..0ff6ae3a2ae 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/FilterOperators/FilterOperatorsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FilterOperatorsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function filterOperators diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs index 108a700af64..f361b40eb46 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/Functions/FunctionsRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FunctionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function functions diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs index b539d1c68d3..9e3c4391cdb 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/ParseExpression/ParseExpressionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ParseExpressionPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ParseExpressionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parse a given string expression into an attributeMappingSource object. For more information about expressions, see Writing Expressions for Attribute Mappings in Azure Active Directory. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs index cb68242a199..a3c63cc1305 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/Schema/SchemaRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Default synchronization schema for the jobs based on this template. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schema in servicePrincipals @@ -105,7 +105,7 @@ public async Task PatchAsync(SynchronizationSchema body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationSchema.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schema for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs index 2d8b058b67c..cee2600fa26 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/Item/SynchronizationTemplateItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Pre-configured synchronization settings for a particular application. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update (override) the synchronization template associated with a given application. @@ -91,7 +91,7 @@ public async Task PatchAsync(SynchronizationTemplate bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property templates for servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs index a807f67d0dd..0edd68f8b28 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/Synchronization/Templates/TemplatesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SynchronizationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to templates for servicePrincipals @@ -80,7 +80,7 @@ public async Task PostAsync(SynchronizationTemplate bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SynchronizationTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the synchronization templates associated with a given application or service principal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs index 73296cd870b..81152e4b4ca 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs index 66d699c7c11..f35db33e8ac 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/Item/TokenIssuancePolicyItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tokenIssuancePolicies assigned to this service principal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs index 5bf257839a2..498ddf830b9 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenIssuancePolicies/TokenIssuancePoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TokenIssuancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenIssuancePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tokenIssuancePolicies assigned to this service principal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs index 8976e987a21..b874be0e097 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs index 04693530bd5..bc2b70df19a 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/Item/TokenLifetimePolicyItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicy.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tokenLifetimePolicies assigned to this service principal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs index a7e83d59c59..0f8e72ab998 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TokenLifetimePolicies/TokenLifetimePoliciesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TokenLifetimePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TokenLifetimePolicyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The tokenLifetimePolicies assigned to this service principal. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index d5b14152487..2aae94a22ab 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index fe8894d3f9e..a4746648b22 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index ae2ab8f7c03..9dc02ede3e0 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs index 8deea0739d9..3b749fb6735 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 67313512652..48144c8bce7 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index ebd9fdcc919..5569dea84a0 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index e02fef666ea..83d8a076a2d 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index b04ccfb7509..4ab820a576f 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get transitiveMemberOf from servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index a0c36041703..2839dcf1b86 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 393b5e854ef..17f05359f95 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index b4e91ab57fb..bdb61e51737 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index 0f223d08362..98b21abb04e 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get transitiveMemberOf from servicePrincipals diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs index b68b246fd6d..3223d332f28 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/ServicePrincipalsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new servicePrincipal object. @@ -101,7 +101,7 @@ public async Task PostAsync(ServicePrincipal body, Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of servicePrincipal objects. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 56562f08adc..8def62fabd7 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipals/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs index 5470f9047ca..3b9160b6940 100644 --- a/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/ServicePrincipalsWithAppId/ServicePrincipalsWithAppIdRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a servicePrincipal object. @@ -68,7 +68,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in servicePrincipals by appId @@ -89,7 +89,7 @@ public async Task PatchAsync(ServicePrincipal body, Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a servicePrincipal object. diff --git a/src/Microsoft.Graph/Generated/Shares/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Count/CountRequestBuilder.cs index bc040e1e182..2f38341fa5e 100644 --- a/src/Microsoft.Graph/Generated/Shares/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index bfce7f60617..328a0a9d420 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 0264fcf32ec..fd0d3eb9414 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.cs index 284a7a476ae..424dda2e937 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.cs index 81cb822ca76..f1e133aeab1 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/DriveItem/DriveItemRequestBuilder.cs @@ -51,7 +51,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Items/Count/CountRequestBuilder.cs index 4c954cdb68d..e02f8be64cc 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Items/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Items/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.cs index 8160ea79e08..d9b29a66521 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.cs index 169c8d2fccd..9e36bb1bd5c 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Items/Item/DriveItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// All driveItems contained in the sharing root. This collection cannot be enumerated. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Items/ItemsRequestBuilder.cs index f55f2e99cf7..81fa5f15670 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Items/ItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// All driveItems contained in the sharing root. This collection cannot be enumerated. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 262fad14377..62d5cf153c4 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 6eadccce9c9..00d23badbc7 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/ColumnsRequestBuilder.cs index 395a2997f63..5cf741d3d3e 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Count/CountRequestBuilder.cs index 9d98ff5f8e9..56ba3d9c016 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 6a23f27df14..0d80bb90a16 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of field definitions for this list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columns in shares @@ -90,7 +90,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columns for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index cd0400aef43..4f4dfaff30d 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index 4a46fc88ada..721b24b99e9 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyPostRequestBody body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 7b93f650982..e8e797be6f1 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyFromContentTypeHubPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/ContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/ContentTypesRequestBuilder.cs index 816e27b2be1..efe25ee6000 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/ContentTypesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to contentTypes for shares @@ -95,7 +95,7 @@ public async Task PostAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [contentType][contentType] resources in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Count/CountRequestBuilder.cs index 9a126ba65ff..861867b2d88 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index bc4e107cb65..e71ce6a5fdd 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getCompatibleHubContentTypes diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index d8e7064c998..19c0e932824 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssociateWithHubSitesPostRequestBody body, Action /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index 2d4480ad92f..62d3ce50cff 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parent contentType from which this content type is derived. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index c62ba00a62e..d913ffc1ba4 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index 7569bcb4093..4293c438c66 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index 0d5239fc9c0..576321a02da 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index fd0a65c5c98..fbdb1333123 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to columnLinks for shares @@ -79,7 +79,7 @@ public async Task PostAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of columns that are required by this content type. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index 29855f94e63..d67960e2dea 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index 442e84683e7..3d2801cbc41 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of columns that are required by this content type. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columnLinks in shares @@ -85,7 +85,7 @@ public async Task PatchAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columnLinks for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index 7e2fac09d72..2fd07e8f33d 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index 7b315076459..d51e91e0dca 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index da11d847233..9284c15c0fa 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index f3c094f3cfb..b170c3ee2ee 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index 3a597a9b971..782e26ad605 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 42affb69203..10474a42f21 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. @@ -93,7 +93,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 81000ca8291..e7f0ab4eb98 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index a16a9d4a3bc..0153b4aa096 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// The collection of content types present in this list. @@ -114,7 +114,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contentTypes in shares @@ -135,7 +135,7 @@ public async Task PatchAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contentTypes for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index 849479effe8..0e51c6207cd 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CopyToDefaultContentLocationPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index 437fba773df..1c608ce7c7e 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function isPublished diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs index 3f11fe324f4..68d6c58f734 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Publishes a [contentType][] present in the content type hub site. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index 5c0c5dd6184..13827bb42ff 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unpublish a [contentType][] from a content type hub site. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs index c7a220b20eb..1ecaeae119d 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 9cc05e96c9c..7d1f9ace944 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Drive/DriveRequestBuilder.cs index 9e4784f1b7b..476ac97c4c1 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Drive/DriveRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs index 1073fce6f2b..f4a19c0a123 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Analytics about the view activities that took place on this item. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 92ad5efcf96..01cc55a65f4 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 4696bee5c3c..a1367279a3d 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs index e7df77ff6eb..aba2b3eb75c 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs index 37c302c6b25..514e3079d71 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new version of a document set item in a list. @@ -81,7 +81,7 @@ public async Task PostAsync(DocumentSetVersion body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the versions of a document set item in a list. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs index abc6383cf93..7409464e8c6 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a documentSetVersion object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property documentSetVersions in shares @@ -97,7 +97,7 @@ public async Task PatchAsync(DocumentSetVersion body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a version of a document set in a list. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs index ed38a8540c1..2fb42c7fdf0 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in shares @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs index 58d7f9e1924..e65b7b94dd8 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a document set version. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs index 839a02424a5..672d4f9c837 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs index efd7d8044be..1971cc13c1a 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/DriveItem/DriveItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs index 89eb6edd88c..9282a0f7c8f 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The values of the columns set on this list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties on a [listItem][]. @@ -86,7 +86,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index ba3246f9e4d..753e0d42259 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index 4fe7709eb86..d8988123ec1 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index deda5bb9a1b..42ee65eb3de 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index c94b6acbcef..bd3c800a413 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/ListItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/ListItemItemRequestBuilder.cs index f57b14630a3..411becb3d05 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/ListItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/ListItemItemRequestBuilder.cs @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action /// Provides operations to call the getActivitiesByInterval method. @@ -119,7 +119,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property items in shares @@ -140,7 +140,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes an item from a [list][]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs index b4c63a8ec23..4f084969182 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs index 5205ac44877..1527ec1a5aa 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in shares @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs index e1a7b4043a1..43ab0367063 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a specific version of a ListItem. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in shares @@ -96,7 +96,7 @@ public async Task PatchAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index 3b69e994ad5..5069558023c 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs index 92e290b27cb..c55d297082e 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/Item/Versions/VersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for shares @@ -80,7 +80,7 @@ public async Task PostAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/ItemsRequestBuilder.cs index b06f6ae8ac6..0a430810a96 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Items/ItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public async Task GetAsync(Action(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [listItem][] in a [list][]. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [items][item] in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index d572b36eb15..b452802ab2f 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 8951b2f8a59..1b0b8bdc5a2 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/ListRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/ListRequestBuilder.cs index 9c0ec007c2b..a0afdc11b31 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/ListRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/ListRequestBuilder.cs @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Used to access the underlying list @@ -104,7 +104,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property list in shares @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property list for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Count/CountRequestBuilder.cs index 91f832a047c..ca6e2e712f7 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index 1af1837aa86..c0c7e56fdbe 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of long-running operations on the list. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in shares @@ -85,7 +85,7 @@ public async Task PatchAsync(RichLongRunningOperation {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/OperationsRequestBuilder.cs index 4cbf04e9af4..237ff0c8dec 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for shares @@ -79,7 +79,7 @@ public async Task PostAsync(RichLongRunningOperation b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of long-running operations on the list. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Count/CountRequestBuilder.cs index 0c0008fe101..f4d438e505b 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index 4eaea450fac..92f4f4aa0ed 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index 3f3adcefa6e..3cacbd97352 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The set of subscriptions on the list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property subscriptions in shares @@ -90,7 +90,7 @@ public async Task PatchAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property subscriptions for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs index eb64583aec3..11a7335a305 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/List/Subscriptions/SubscriptionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to subscriptions for shares @@ -79,7 +79,7 @@ public async Task PostAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The set of subscriptions on the list. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/ListItem/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/ListItem/ListItemRequestBuilder.cs index 799787f887a..8153391421d 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/ListItem/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/ListItem/ListItemRequestBuilder.cs @@ -45,7 +45,7 @@ public ListItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used to access the underlying listItem diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.cs index 6ea02e20131..1bec5b8e4fe 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Permission/Grant/GrantRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GrantPostRequestBody body, Action(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Grant users access to a link represented by a [permission][]. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs index 270654ed3da..3abb5b9f0ca 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Permission/PermissionRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Used to access the permission representing the underlying sharing link @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permission in shares @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permission for shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Root/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Root/Content/ContentRequestBuilder.cs index dc2349a9028..6322176377d 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Root/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Root/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Root/RootRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Root/RootRequestBuilder.cs index de52b5c8c34..0ea237056ae 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Root/RootRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Root/RootRequestBuilder.cs @@ -50,7 +50,7 @@ public RootRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used to access the underlying driveItem. Deprecated -- use driveItem instead. diff --git a/src/Microsoft.Graph/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.cs index d739a19514b..cb06fa78529 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/SharedDriveItemItemRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. @@ -110,7 +110,7 @@ public async Task GetAsync(Action(requestInfo, SharedDriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedDriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in shares @@ -131,7 +131,7 @@ public async Task PatchAsync(SharedDriveItem body, Action(requestInfo, SharedDriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedDriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from shares diff --git a/src/Microsoft.Graph/Generated/Shares/Item/Site/SiteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/Item/Site/SiteRequestBuilder.cs index fc4c3faa65e..8c25d5dee67 100644 --- a/src/Microsoft.Graph/Generated/Shares/Item/Site/SiteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/Item/Site/SiteRequestBuilder.cs @@ -45,7 +45,7 @@ public SiteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used to access the underlying site diff --git a/src/Microsoft.Graph/Generated/Shares/SharesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Shares/SharesRequestBuilder.cs index 838760a82f4..dd81c39c3b5 100644 --- a/src/Microsoft.Graph/Generated/Shares/SharesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Shares/SharesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SharedDriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedDriveItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to shares @@ -79,7 +79,7 @@ public async Task PostAsync(SharedDriveItem body, Action(requestInfo, SharedDriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedDriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Access a shared DriveItem or a collection of shared items by using a shareId or sharing URL. To use a sharing URL with this API, your app needs to transform the URL into a sharing token. diff --git a/src/Microsoft.Graph/Generated/Sites/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Add/AddRequestBuilder.cs index dfa479676b3..d40f7407ff6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Follow a user's site or multiple sites. diff --git a/src/Microsoft.Graph/Generated/Sites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Count/CountRequestBuilder.cs index 6bd436cd03a..4e26a62d0c8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.cs index 216d63d30c4..e3362383981 100644 --- a/src/Microsoft.Graph/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/GetAllSites/GetAllSitesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllSitesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllSitesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllSites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs index 5f1a3b7bd6e..00456650a2a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AllTime/AllTimeRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get [itemAnalytics][] about the views that took place under this resource.The itemAnalytics resource is a convenient way to get activity stats for allTime and the lastSevenDays.For a custom time range or interval, use the [getActivitiesByInterval][] API. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.cs index da6b0fb4194..56e665ec9bb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/AnalyticsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Analytics about the view activities that took place in this site. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property analytics in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(ItemAnalytics body, Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property analytics for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs index e61c60d08a4..f3ffc56caae 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs index f5aa53ea9bc..2371a15f1d1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/ActivitiesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to activities for sites @@ -79,7 +79,7 @@ public async Task PostAsync(ItemActivity body, Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Exposes the itemActivities represented in this itemActivityStat resource. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs index 1adf6b6344c..f1f78094fde 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs index ae3d9984966..a3da59aff00 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs index 0e69c2b981c..ece0e18b926 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/DriveItem/DriveItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Exposes the driveItem that was the target of this activity. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs index b4710ee69f7..754725fdd24 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/Activities/Item/ItemActivityItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Exposes the itemActivities represented in this itemActivityStat resource. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property activities in sites @@ -90,7 +90,7 @@ public async Task PatchAsync(ItemActivity body, Action(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property activities for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs index 4bb832d7b17..17de56baf43 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/Item/ItemActivityStatItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get itemActivityStats from sites @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property itemActivityStats in sites @@ -90,7 +90,7 @@ public async Task PatchAsync(ItemActivityStat body, Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property itemActivityStats for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs index 2c613139fe1..b1e4833841c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/ItemActivityStats/ItemActivityStatsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to itemActivityStats for sites @@ -79,7 +79,7 @@ public async Task PostAsync(ItemActivityStat body, Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get itemActivityStats from sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs index 73ab784c4c3..bdffb26a58d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Analytics/LastSevenDays/LastSevenDaysRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemActivityStat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get lastSevenDays from sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Columns/ColumnsRequestBuilder.cs index c50c3f1a80b..0775cea1625 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a column for a [site][site] with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [site][site]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Columns/Count/CountRequestBuilder.cs index 19595641a6e..72b2af263c8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 7b7ea5f44a5..9f3b961a5b6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of column definitions reusable across lists under this site. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columns in sites @@ -90,7 +90,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columns for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index d76c332f8f1..f572030f829 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index 9b4db23f8cd..7c77b36e968 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyPostRequestBody body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 1287b5cb414..b7f84b91a78 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyFromContentTypeHubPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs index da898ad5853..980c3acecfe 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/ContentTypesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [contentType][] in a [site][]. @@ -96,7 +96,7 @@ public async Task PostAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [contentType][contentType] resources in a [site][]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs index beb83f95b70..019ac3d8354 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index fd2f0c72c73..ad4b58724f4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getCompatibleHubContentTypes diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index 32bb059e3b8..2abef5882e1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssociateWithHubSitesPostRequestBody body, Action /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index 44cbe493291..a9dcbd11460 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parent contentType from which this content type is derived. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index c14b41d0c82..b030bf45d79 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index ae1d5e4138c..2016ce3667e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index 509c173e105..83a6b93e61d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index 6706f0cd3dd..44b08a67053 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to columnLinks for sites @@ -79,7 +79,7 @@ public async Task PostAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of columns that are required by this content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index a3bf78716da..7c06ae3a687 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index aa354535130..206ccf7f881 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of columns that are required by this content type. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columnLinks in sites @@ -85,7 +85,7 @@ public async Task PatchAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columnLinks for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index e9aad6cde21..cd7628afc4b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index 0d0deec1036..c0d32ecda1d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index 58f6867b505..c2f7cccf48e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index e0a4aba2239..cfb4f219d84 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index 76c5f9f64ac..9e45a000684 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 82194646350..e33bd8e6fd9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. @@ -93,7 +93,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index a82f764e884..f95e3b3ae64 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index 05b12559a35..c6dfde8d8f5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -96,7 +96,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [content type][contentType] in a [site][] or a [list][]. @@ -116,7 +116,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [content type][contentType]. @@ -138,7 +138,7 @@ public async Task PatchAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [content type][contentType] from a [list][] or a [site][]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index e8b5401f2ed..65164055103 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CopyToDefaultContentLocationPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index 91712af3e44..9ed074439e8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function isPublished diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs index 4f94a1c3e61..7db5feb8dd9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Publishes a [contentType][] present in the content type hub site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index 2f11f9f4286..380a7fa1d77 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unpublish a [contentType][] from a content type hub site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 6d063345605..917241fbb7f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index eee926d853f..f6495b4d44b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Drive/DriveRequestBuilder.cs index 9fe915f7f56..e2c299a7dd5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Drive/DriveRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The default drive (document library) for this site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Drives/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Drives/Count/CountRequestBuilder.cs index c520b08672a..cf3d25428fc 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Drives/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Drives/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Drives/DrivesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Drives/DrivesRequestBuilder.cs index 590d0f41f4c..0df32eda1c5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Drives/DrivesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Drives/DrivesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of drives (document libraries) under this site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs index 493b27defdf..ad7edabbe49 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Drives/Item/DriveItemRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of drives (document libraries) under this site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs index 55c83dbee5e..20f47bb6574 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs index 340812a5e8e..f56a521114d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/ExternalColumnsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get externalColumns from sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs index 1856d7c4609..2f7bed64691 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/ExternalColumns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get externalColumns from sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index 6d739127273..84027d7f4df 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index c8d5c2f6583..4e7eed1dcef 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs index b30d4282db5..d41409a2be7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/GetApplicableContentTypesForListWithListId/GetApplicableContentTypesForListWithListIdRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetApplicableContentTypesForListWithListIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetApplicableContentTypesForListWithListIdResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getApplicableContentTypesForList diff --git a/src/Microsoft.Graph/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs index f0c69163097..f7327046e47 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/GetByPathWithPath/GetByPathWithPathRequestBuilder.cs @@ -47,7 +47,7 @@ public GetByPathWithPathRequestBuilder(string rawUrl, IRequestAdapter requestAda {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getByPath diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Items/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Items/Count/CountRequestBuilder.cs index 227bfc8c6cc..5b8d855be2a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Items/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Items/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs index b62880bbf09..147ac7b0846 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Items/Item/BaseItemItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, BaseItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BaseItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used to address any item contained in this site. This collection can't be enumerated. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Items/ItemsRequestBuilder.cs index f1e65d9b81d..139ca7ed9d6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Items/ItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, BaseItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BaseItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used to address any item contained in this site. This collection can't be enumerated. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 413af390c0d..7db1b4634e8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 24d3df1f415..a3e90bc471d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Count/CountRequestBuilder.cs index fa5a6d48097..ac3c9107bd1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs index 23e6c6e2756..59994add195 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a column for a [list][list] with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs index 12d51013d7f..4a0d6421ff9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index ac4abb8af58..abbb7090578 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of field definitions for this list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columns in sites @@ -90,7 +90,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columns for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index cf251c6762e..17f631da4af 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs index 0b760a42f16..16433a21d21 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopy/AddCopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyPostRequestBody body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a copy of a [content type][contentType] from a [site][site] to a [list][list]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs index 5c481a20a74..f7b6980e21e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/AddCopyFromContentTypeHub/AddCopyFromContentTypeHubRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(AddCopyFromContentTypeHubPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or sync a copy of a published content type from the content type hub to a target site or a list. This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a 'push everywhere' to 'pull as needed' approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see contentType: getCompatibleHubContentTypes and the blog post Syntex Product Updates – August 2021. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs index fd76960c192..b6ba1566bff 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/ContentTypesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to contentTypes for sites @@ -95,7 +95,7 @@ public async Task PostAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [contentType][contentType] resources in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs index ea8b3dae337..e9008a65e49 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs index cd2534ece8b..f75ea0f3f7c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/GetCompatibleHubContentTypes/GetCompatibleHubContentTypesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetCompatibleHubContentTypesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getCompatibleHubContentTypes diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs index 971e8cc9b26..a6c264accfd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/AssociateWithHubSites/AssociateWithHubSitesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AssociateWithHubSitesPostRequestBody body, Action /// Associate a published [content type][contentType] present in a content type hub with a list of hub sites. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs index 467db3e52e1..d4e4b58be46 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Base/BaseRequestBuilderEscaped.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Parent contentType from which this content type is derived. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs index 4eec1ea6792..1f13b52c662 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/BaseTypesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentTypeCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs index 523281585ca..9d93b66da04 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs index becb40ff443..ca9925a63c1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/BaseTypes/Item/ContentTypeItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of content types that are ancestors of this content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs index 6973a38c4e3..8bd26725a3e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/ColumnLinksRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLinkCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to columnLinks for sites @@ -79,7 +79,7 @@ public async Task PostAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of columns that are required by this content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs index abfd3571e42..209aa03542e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs index e90a67699bb..770936c33ef 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnLinks/Item/ColumnLinkItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of columns that are required by this content type. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property columnLinks in sites @@ -85,7 +85,7 @@ public async Task PatchAsync(ColumnLink body, Action(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnLink.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property columnLinks for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs index 2c69db3d898..27d5584f22d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/ColumnPositionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs index 912263ff5ee..a1eadea11f1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs index 72335423a77..8b4bf151f16 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ColumnPositions/Item/ColumnDefinitionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Column order information in a content type. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs index aa001edada6..8217a374673 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/ColumnsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinitionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a column to a [content type][contentType] in a site, or a list with a request that specifies a [columnDefinition][columnDefinition]. @@ -81,7 +81,7 @@ public async Task PostAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of columns represented as [columnDefinition][columnDefinition] resources in a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs index 0f191627bc6..872c146118a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs index 3ab1544ed2a..153a1fd3620 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/ColumnDefinitionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a [site][], a [list][], or a [contentType][] [column][columnDefinition]. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a [site][], a [list][], or a [content type][contentType] [column][columnDefinition]. @@ -93,7 +93,7 @@ public async Task PatchAsync(ColumnDefinition body, Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a [column][columndefinition] from a [site][], a [list][], or a [content type][contentType]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs index 7554b5ebd2c..15415035b41 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Columns/Item/SourceColumn/SourceColumnRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ColumnDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The source column for the content type column. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs index aad96b2891c..cf32d07a629 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/ContentTypeItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// The collection of content types present in this list. @@ -114,7 +114,7 @@ public async Task GetAsync(Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contentTypes in sites @@ -135,7 +135,7 @@ public async Task PatchAsync(ContentType body, Action(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContentType.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contentTypes for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs index bbfb28e6ee2..9b793440137 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/CopyToDefaultContentLocation/CopyToDefaultContentLocationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CopyToDefaultContentLocationPostRequestBody body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a file to a default content location in a [content type][contentType]. The file can then be added as a default file or template via a POST operation. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs index be7bf3a77b1..0ea46aa0529 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/IsPublished/IsPublishedRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, IsPublishedResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function isPublished diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs index 7e809aebebb..df13653f368 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Publish/PublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Publishes a [contentType][] present in the content type hub site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs index 20cdd1f7d4d..b4dd4b57cfe 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ContentTypes/Item/Unpublish/UnpublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Unpublish a [contentType][] from a content type hub site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 03aa7cb3bfa..aa336f832bd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 2754a588d1c..0b910c99517 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs index 21d452a25d0..60b36246657 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Drive/DriveRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs index 857d52020e5..e08a5ceb0c2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Analytics/AnalyticsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ItemAnalytics.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Analytics about the view activities that took place on this item. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs index 3482aa44faf..7a66268c80d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/CreatedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public CreatedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who created the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 093cdb3c9e9..fa06fc00160 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/CreatedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs index fc4ad55ebe7..c3ecdec435f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs index d4bf6a22090..313648276c4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/DocumentSetVersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new version of a document set item in a list. @@ -81,7 +81,7 @@ public async Task PostAsync(DocumentSetVersion body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the versions of a document set item in a list. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs index 17205650c88..0f137b6a348 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/DocumentSetVersionItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a documentSetVersion object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property documentSetVersions in sites @@ -97,7 +97,7 @@ public async Task PatchAsync(DocumentSetVersion body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DocumentSetVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a version of a document set in a list. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs index e2a95ee5883..7be4d2471a8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in sites @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs index 5f227eac378..c1ee87bbe9d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DocumentSetVersions/Item/Restore/RestoreRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a document set version. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs index 36f4130f3dd..5fefd718eea 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs index b8ea19b5503..7f624d6fb57 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/DriveItem/DriveItemRequestBuilder.cs @@ -50,7 +50,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For document libraries, the driveItem relationship exposes the listItem as a [driveItem][] diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs index 5cec8429aff..daaff36753b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The values of the columns set on this list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties on a [listItem][]. @@ -86,7 +86,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs index c026262962b..d401f52f027 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByInterval/GetActivitiesByIntervalRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs index 487c60af5ca..6e74b126cb6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithInterval/GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getActivitiesByInterval diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 3881b5c61dc..022d98a6643 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index 641c7c2dcdd..9da9caeade2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs index 8e87b9fbc41..6d3a8f487bb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/ListItemItemRequestBuilder.cs @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action /// Provides operations to call the getActivitiesByInterval method. @@ -119,7 +119,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property items in sites @@ -140,7 +140,7 @@ public GetActivitiesByIntervalWithStartDateTimeWithEndDateTimeWithIntervalReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes an item from a [list][]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs index 1b4995ac581..3eb5bd14907 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs index 4f9265e139c..0182e87a445 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/Fields/FieldsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of the fields and values for this version of the list item. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property fields in sites @@ -85,7 +85,7 @@ public async Task PatchAsync(FieldValueSet body, Action(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, FieldValueSet.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property fields for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs index 293b51140b2..992bcac73f2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/ListItemVersionItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Retrieve the metadata for a specific version of a ListItem. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property versions in sites @@ -96,7 +96,7 @@ public async Task PatchAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property versions for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs index df6841a6644..f92f660ac94 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/Item/RestoreVersion/RestoreVersionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore a previous version of a ListItem to be the current version. This will create a new version with the contents of the previous version, but preserves all existing versions of the item. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs index 84782cf67e3..f24615aac95 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/Item/Versions/VersionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to versions for sites @@ -80,7 +80,7 @@ public async Task PostAsync(ListItemVersion body, Action(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemVersion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs index 415cedc35b1..607624da9a6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Items/ItemsRequestBuilder.cs @@ -54,7 +54,7 @@ public async Task GetAsync(Action(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [listItem][] in a [list][]. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ListItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [items][item] in a [list][]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs index 6a308355d7a..548e84cab88 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/LastModifiedByUserRequestBuilder.cs @@ -50,7 +50,7 @@ public LastModifiedByUserRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Identity of the user who last modified the item. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs index de3cbc7ef52..f9a4925386a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/LastModifiedByUser/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs index f6259a49f3a..0b73086bae3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/ListItemRequestBuilder.cs @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action /// Get a list of rich long-running operations associated with a list. @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property lists in sites @@ -126,7 +126,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property lists for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs index 3938df4b560..b952278d606 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index b1e73cb89a3..809ae3da297 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of long-running operations on the list. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in sites @@ -85,7 +85,7 @@ public async Task PatchAsync(RichLongRunningOperation {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs index 793070ce189..6043edccbea 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(RichLongRunningOperation b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of long-running operations on the list. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs index 5ab145818af..aa592122643 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index 1c3ad15c8e4..f18cd2bc51c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index 98fad1c2923..3fa729198a0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The set of subscriptions on the list. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property subscriptions in sites @@ -90,7 +90,7 @@ public async Task PatchAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property subscriptions for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs index e53e1ef6284..16a2209a9a1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/Item/Subscriptions/SubscriptionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to subscriptions for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The set of subscriptions on the list. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Lists/ListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Lists/ListsRequestBuilder.cs index 95378700cb4..a0763e2940f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Lists/ListsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Lists/ListsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new [list][] in a [site][]. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.List.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the collection of [lists][] for a [site][]. Lists with the [system][] facet are hidden by default.To list them, include system in your $select statement. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs index 884dd02a576..af2c620b930 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs index 08c3dce9eff..35dfbb17ce9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(GetNotebookFromWebUrlPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs index 8e62f4dcb93..076140299b4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getRecentNotebooks diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs index 54d1b59bf03..a8b53c3cb23 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyNotebookPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs index 933f6fff7dd..aa92be40a1d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a notebook object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property notebooks in sites @@ -101,7 +101,7 @@ public async Task PatchAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property notebooks for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs index 8fbb531a653..29be74648ac 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 2ed1e1c0701..72eb17b7c9d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index b359e344dc0..afb2b52f1fb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 4b577f5176e..9e6238dd412 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// The section groups in the notebook. Read-only. Nullable. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in sites @@ -105,7 +105,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 4884605615b..481addc59cb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index b45a76e4dd5..b8260b6c8ec 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 8fa4590821e..5e0de193c16 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index c02cd73c5d0..d939dfc5f03 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 3e759399a58..725bd3cc054 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 2cb1eaac761..5e6c13b43c7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index a80ad49891a..79789a84660 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in sites @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 4b1b4157d5d..a082d2eb4f0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 09ab95f2f56..2be1e12ab12 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index bf6021bb711..3a92c4b61c9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 3c9d6c3ac09..dc1d3567147 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in sites @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 26e2eed966f..b27abc22be4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 71b3c0a64fe..9e633ee79c1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 3aa141c1568..13b05e15f66 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 08436d5d55e..8ae65517f3a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index ab72716823e..00f318de43e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 20367482c99..4f2211db086 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 4c96246ee51..25191c19c19 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index fe2e4527297..8bd80360535 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs index c1f2cfb87c0..aa6b3d249ff 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new section group in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs index cff921a39a9..e883480b42e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 2afd263a082..77388da85bf 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 1559c0d14a6..7745407d0c9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index bee55142a9a..b9f06dbb7f7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the notebook. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in sites @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 85733c2ee4c..6bb340cee75 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 64f169089b4..9683d1b086d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index bb95e96ac8e..070940fc8a5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 5729f4ba9c4..2ae709d031f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in sites @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 76f5541ecc5..4fb519858d9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 4277055829c..c6e70b7b158 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 32beabc4a70..06a03562c8b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 3b8c5fa988e..ee38fc19889 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs index fa1498d9309..614461f3804 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 55ddf6cb48a..89d0b52da53 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index ad67cb6d6cd..c0ed51ac057 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs index 65e85a2f2ff..97b07048259 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs index 1cafa576758..3d35a0cc350 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getRecentNotebooks method. @@ -95,7 +95,7 @@ public async Task PostAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of notebook objects. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.cs index bf7786eb8aa..8cd35a27c00 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/OnenoteRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Calls the OneNote service for notebook related operations. @@ -94,7 +94,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property onenote in sites @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property onenote for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs index 41e14fdc7da..79a518becb1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs index 5a82a98fc45..8e39146098c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in sites @@ -86,7 +86,7 @@ public async Task PatchAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs index 869da4d5f53..7c2f0c5023c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs index fd8023092e9..2f810a58db4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs index 9ec3845e8cc..7b31a7fcc48 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 87871709be5..136f1eb4ba7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs index 79644383295..96ab81709e9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in sites @@ -117,7 +117,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a OneNote page. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 0b3a6f54824..a38c3c0fbfa 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 58ee78c1ccd..135f103a5de 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 7c8a7d2db26..aaabdb926f8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs index 3fee2b73ba9..77593d24789 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs index 863e1cf43d6..1f285e190b8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs index e0b84e9a89e..dae82235a3f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs index 9883cad3eb7..0302b14a610 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs index 331e5f9b414..6f120472dbd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in sites @@ -90,7 +90,7 @@ public async Task PatchAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs index 4cbeb6cf336..5b5039dd099 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Resources/ResourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for sites @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs index 56da16b85a6..634dbc477f2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index dc3f58c1d86..50d91afd6d9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 26b47bc3ed0..b9aa28febdf 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index be0e2f59f8c..3cb845cb638 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a sectionGroup object. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in sites @@ -106,7 +106,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 9411d09e0b4..afaffe5bcb2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 6be29f5dc13..4dc7e8c1e53 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 57be59b5edf..007f66dbe61 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index d6bd56f3992..8aac4a612c4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index fc50620de86..8a7f5f9eb97 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 2a5eb732904..967ecb125ee 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 3665dc89949..66203fc58d4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in sites @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 33fb97b5d15..0ad140f1d0d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 08e6d474a3c..b9b96253df2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 6c1e046b400..07cfeb533a4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 15d561a759a..12687df8653 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in sites @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 466554a7cf7..6979f5d5c04 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 42e2049b573..5fa70a7c58a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 0708191d300..e107252495f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index c9d4167e7b5..d1e11014521 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 090de50b1a1..71f698246dd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index cc341d9a6de..71287cd0a72 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index d79d5dfe0bb..1a74ff3b427 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index 40f4d7ee810..36ab39e1276 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs index debce1be018..c9edba42e5f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sectionGroups for sites @@ -80,7 +80,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of sectionGroup objects. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs index b2904de886e..104d570162c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index c8a5ca686ba..b12c52fdaea 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index e3379042f25..42ad20f787a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 5f5c1ba9131..ffaee6c8f05 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a onenoteSection object. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in sites @@ -111,7 +111,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs index 51eb41e37ce..5fbc6b7eff8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 6f7fd5eef51..480029b4361 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index fc5e0c166c5..4801746ebbe 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 22dc1eb3880..a1f79c82d43 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in sites @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index c8ddaf0cea7..249fd0addfa 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 06326748be3..ef26944a927 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index f26be2fff34..ac5ddd5ae3a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 5289c3c29b7..2943508594c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs index a30ef0c1d8c..aec63dbe795 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 7f03758d76c..940384298f9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index e94d75b58a6..df477186531 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs index 60ff5fa4b4b..f3b48360771 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Onenote/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sections for sites @@ -80,7 +80,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Operations/Count/CountRequestBuilder.cs index 4cb77c78515..a661c8d2e8f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs index 21c44c1f2fb..2d116c4375b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Operations/Item/RichLongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of a rich long-running operation on a site or a list. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in sites @@ -86,7 +86,7 @@ public async Task PatchAsync(RichLongRunningOperation {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Operations/OperationsRequestBuilder.cs index 51b59e86d59..f8f4178565c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Operations/OperationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for sites @@ -80,7 +80,7 @@ public async Task PostAsync(RichLongRunningOperation b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RichLongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of rich long-running operations associated with a site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Count/CountRequestBuilder.cs index 9b2283cbb7a..b0679cfb635 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs index 9be997e8bcb..2e8dbd48330 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/Grant/GrantRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GrantPostRequestBody body, Action(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GrantResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Grant users access to a link represented by a [permission][]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs index d00915e0537..9bdfcf5d197 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/Item/PermissionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a permission object on a site. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an application permission object on a site. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a permission object on a site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.cs index 65636151216..4d05a5ae8c1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Permissions/PermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new permission object on a site. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Permission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the permission resources from the permissions navigation property on a site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/SiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/SiteItemRequestBuilder.cs index c5938ea54a2..825e8975117 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/SiteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/SiteItemRequestBuilder.cs @@ -154,7 +154,7 @@ public GetApplicableContentTypesForListWithListIdRequestBuilder GetApplicableCon {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getByPath method. @@ -183,7 +183,7 @@ public GetByPathWithPathRequestBuilder GetByPathWithPath(string path) { {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve properties and relationships for a [site][] resource.A site resource represents a team site in SharePoint. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Sites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Sites/Count/CountRequestBuilder.cs index 239cb3b535a..0164c171773 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Sites/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Sites/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs index b5760cc1dc7..ecc65e02488 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Sites/Item/SiteItemRequestBuilder.cs @@ -45,7 +45,7 @@ public SiteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of the sub-sites under this site. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/Sites/SitesRequestBuilder.cs index 4c3af6c2ed0..c4f9e26b717 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/Sites/SitesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of subsites defined for a [site][]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs index 02728e83800..813db0fb7de 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs index 8e9aa3f3083..2cbe511a503 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/GroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new group object in a term store. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of group objects in a term store. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs index 7036fda45a5..9bfd5065dd5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/GroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term store group object. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property groups in sites @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a group object in a term [store]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs index 72f65795b69..632f9ade87e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index 8988a748e89..7e6cb36c6d0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index abf78e2eadd..852129f8729 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 39ed05a395e..b5ec8f14829 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 25e2ba90541..96bea896820 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index a2f6d5a2621..9ed3712f3ba 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index b1a27298872..47b71e31163 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index a66448273ef..6826185199c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 38c2715b79c..73a107bc16e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 254106df966..02040c710ee 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 2108a1f93aa..aa4dbd4fa2e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 8a6fd23077a..892cbc6f5d5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 77c9be6065d..a6059140394 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index aacd5197aec..9a196789c9f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 3853e61d2fc..aa392459906 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index a54a1f45e38..df6564dcf47 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 8e81ad94b8d..51cb487f4ad 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 55418238a8e..5917b92bf7c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index b352cb914e2..763c414c8a1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 441777a558b..6d3b4e73a11 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 1fdd8836876..273e01f96b5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 8f25df27552..8eb7457ff5b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in sites @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index be9ff1a38ed..7a9035ad7bc 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index a1082cf3ada..a74cdbc7bba 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 3d37260c4d3..5a4abeaee63 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index ed624527702..177008a3ee8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 7d6f271745c..ae39b9d4420 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index 56a0f5dab11..c72e566d25d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs index fd7ee257390..edffa57abd3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/SetItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in sites @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index 1fdda890dab..5ba0eb1be3c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index b80c582971b..2f74483d179 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 68282407dc7..8625e33a17d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index c42d1f14c09..7d0cbe9e0ef 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 4babcc36531..b7c3e1cbec5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index a68ef21ebb2..5ba845fa737 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index dad3972a6db..8b3ddfba582 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 5add9f3e5b9..7775e6fa9e6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 32b8317d813..6481e51fb01 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 5c2060d15e3..2cee25ca7af 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index bdf96d87aa3..ae02842cbd4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 51594285abc..4d3a0fd310b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 3546d64c875..6347042d119 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 77fb7f27f51..db60400cde7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index ab683d92f3d..438c8ec3957 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index b925aff48cc..0c2448a2081 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 94eef774a87..4db6ebf82ff 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 4ace32d86ed..1b77d1a42fa 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 744c204fab3..1f74dbd4fd7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs index 18db34e1fc9..cf925507744 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs index c7079717da6..399e984d3c7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Groups/Item/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for sites @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs index 8b1d07aecc6..8df82f27306 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs index 07acbc7c5d2..be38ab39879 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs index ff775b496c2..b3c55296f33 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 78b25c8aa09..d04c47d9c86 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 49b12aeaf4b..e56cbf5c1fa 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index fcbcd010efe..b485fc769cc 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 4aaa53d5f7e..5c5e9696161 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 32e6153d1c6..5807c1fbcc3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 55dccdf4c0c..78cea8ab298 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 32483b078ca..3bf37b4652b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index ade2159457c..1692979d81a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index d5a02c25618..4031d285cd3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 68a67557da5..a56af17a7ca 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 94d92d44896..4df6603be77 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 75a3f328d25..7782884fd07 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 0e307ac78b0..ffdaad355e9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 20bd53b6b79..8c480d20627 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 2c94cfdd7d5..b5e303c959a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index cb0c60f2649..88264e3fec1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index ea5d2a98450..c0fdb2a619f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs index d5e41d4a87a..b112b046127 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index a20e6c45d6c..52acb5f5ce3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in sites @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs index bf0409c8285..4fbac4f5442 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs index 65cb76afbfd..a52ddffa8f8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs index ae7b8f61252..faac3b8932e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 7a6a6741066..6644718c75a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 76c7e1e2738..6bcd0473358 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 1a513e5b6f3..d679c6bd756 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index f6be87e6ff7..074ae7d87d0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 764ad66d7e2..b51c2dd48de 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 57c65c8ac97..1846cfea5fe 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 12cb2d2658f..547b9a80634 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 540406d102c..45ceefa1327 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 8e54ab02307..157966018c1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 277343d7259..b767cc14d0c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index bd23f636573..0b13931b6f4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 2124ccf0922..1fdf359b697 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index e627c7ff940..3f6185b1dcf 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 16c278f9849..32668c924ac 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index f10ad52d707..b119bf4c167 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index dee64f2fd52..cdcb3355650 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 99c901e9590..31ec0bbe017 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs index b9e1cb9c7c6..84335971ceb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs index 7081b45a366..e2952e61200 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index a25dcd40421..348b3a371f7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 84cc8df92be..b67f9bf52cc 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 8bb24a80bc6..e55927e3bb8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index a6741f93aca..31f3f580b29 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs index 3d944c73448..ea746653307 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs index def3cd32ed4..11061f3d256 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -79,7 +79,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in sites @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs index 10ae03675cd..1b159d6a36d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index cc9b03e3b84..ff3e444b2d6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index b96c5b2c906..0e8fc75601b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 493d70b97aa..5abf7c4d5bd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index da8fed3acac..3291e3fe1d6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 4428d17ecc6..d9e93e768df 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 3ec551a3c46..d474edf041f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 0550bbe58d6..172cca2fb31 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 16f8d337f56..c0c24b2e732 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 851264786a8..9fd0d004265 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 174ed3297fe..60a3d06a918 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 3ca818e868f..9fe1d0fb7fa 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index cd3dda54f12..054436c45ec 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 62720350bd3..c659ed71c3e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index ab56221fa31..e0d82571168 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 3b4d287b37c..3401656d28a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 0500e9ba9d5..15fbc7173cd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 5da9c7dae6c..767c876ba11 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 763949ec513..2523419761f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs index e87d5467ee0..2be3bbdec8a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs index 31700c576ef..cbc467de662 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for sites @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs index 35cdfe84d48..f511671d48d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 916f7da06d9..f34a248a9bb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 57b182594a1..7bfd6cfbe76 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index b22f50d32b7..b0eaaa45a31 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 4de116cee55..6bd260e4e13 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs index 7027d51aef8..60e12697d52 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs index 4c1a42dd5fc..65d26963302 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/SetItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a set object. @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a set object. @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a set object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs index bbcb0dbf502..ae9e359ca56 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index 1308b6ee1db..3cb6cb93837 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 925bdb97c6d..e544e1cfab9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 5b789eb7eb9..b4b3fb8c2ef 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 640c90e1d21..1a03fa31388 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 40f35b874b0..3636adf7b1e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index ec20268c3c9..ccd61f61d8b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index c619a0c368a..c1b43a388c0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 5963cc0e688..a8aab934669 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index a9b9a4500ab..73bd1e507b6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 956f6e5e3da..cff2df95ae5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index c5d900899c4..f4ba61c5c2d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index f1e73284c76..ad177e0c3fc 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 1f4d28c5de1..ade9fd3eec1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index afedbff50bd..7091df5270d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index afd9fe84583..c6170bd47a8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index c484b6b2e90..30bb04b7727 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index ba6a10b416d..2a0651f1ad3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index c2e2338155e..48c1a395082 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs index 09c5672685a..341f7876356 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs index f9930784e23..babf14b2be0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/Sets/SetsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new set object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a set object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.cs index 28fbeabcea6..430e7fef268 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStore/TermStoreRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a store object. @@ -75,7 +75,7 @@ public async Task GetAsync(Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a store object. @@ -97,7 +97,7 @@ public async Task PatchAsync(Store body, Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property termStore for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Count/CountRequestBuilder.cs index 19d002af8de..91394b4a7e5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs index 5576fd7a610..5a24d979f0f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs index 75d02b4214c..808af9ee9c7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/GroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new group object in a term store. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of group objects in a term store. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs index 0beec0d692e..2495d3f0142 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/GroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term store group object. @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property groups in sites @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a group object in a term [store]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs index 69bb9cb4b95..d59b9a3f496 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index 61e11f70f60..a4d60dede0f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index 1309f4a7906..384ab042559 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 50f98bdd77f..4cb48e77493 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index 84b604940e7..cfde83e582e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index b9fa8ad3940..18819e7e592 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 881381a9de6..e1bb2c3bfaa 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 091376a333b..511be35d66b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 3f7530ad801..aed54291bcd 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 9bb90feca7e..b65dda028fe 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 52222c2e8f8..f6c2187bcbe 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index c714a302d0b..3b2ac3038f2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index a5b1ea8c943..70665d60685 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 0c4150b4446..104c9bed7e2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 558c751b6f4..9ec18d4d7a6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 79ba31cb8bf..b909ad95537 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 8b5e9876e8e..01bb4df84b3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 05a538420ed..1118eb5e47c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index f8236056e72..ad2478da192 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index 71c1f0b9a26..6f6219c591e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 11d04e2b1ec..9faa9e864f4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index c734d259cb0..60520e10d4d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in sites @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index 3bf7de8c6b6..41c9fb54f39 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index abb53292c49..d8983f2c5e7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 790fc8de63f..6f66ef1543f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index d3f849fd253..dcd3b169522 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 46d93be8b40..7ccdbfb2b45 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index 96dc2f2773c..a134448a61d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs index ffc028285f4..13528a60be0 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/SetItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -84,7 +84,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in sites @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index ba7a174fd6e..ebd096dcff9 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index fc4e293de1d..dd0edd4b57c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index ddf57f5ff43..5315ea4e8d5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 03ae13b3514..a8d2e219b50 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 3330f590aa3..3b6aa813837 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 53a61c031bc..51538bf2a61 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index ca5629dcf2c..faeddb9dbff 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 02f95cd5dda..ed825c00a41 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 4b9512c474f..addb4fc7556 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 66d7a6239e9..9efda21b0d5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 471ffae3df7..fadba60bbbc 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index dc73fc87d25..fb83e1d7eae 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 5d9cf10a559..5dce0cd35d7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index b8fe2156614..e6b8423f609 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 8d202568fc5..545091e61f8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 8fb2818aba6..97b3b642d80 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 66aefc3f8f5..9d85e754731 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 7b5c174d4fd..d06ea631f92 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 200853c130a..7063d1feb42 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs index 030d3c272d3..175ba8e0a5e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs index 2bb9f2f8c14..d2e1923e39e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Groups/Item/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for sites @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs index b4eb3dfa298..880fe3dd510 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs index ea3ce61e856..abcb9c4ab13 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs index d6edd75c8b7..ea03cf8e07e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index e6e05968f52..8dc5bbe3f23 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index e63d7d82f06..ab8891d6027 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index bb431598fc7..0c29b2a3eee 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 0b606834f08..67382bcdd82 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index c117ed67dc8..fcca6a6cb31 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 92af968e91b..26e35998828 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index cfedf94397c..892c71a2a88 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index df02ef0a262..5e6ae4ab190 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 98487ac61ed..79c1effffdb 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 3afead392e5..3f0fceddd42 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 658272c7de4..83ebce231c7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 99d17aaa620..d6a7c5cf56e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index aa420545546..89c973e6284 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index cb7633f8ede..4e6ffdbd6ff 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 27f69f7377f..faabb1e4f6d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index c37bef82a51..fa7599c8a31 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index a3bcad9284e..0dab1957949 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs index 615136ca176..5fda4c2ea03 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs index 1f8d71dce8c..b2af46c0057 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/ParentGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The parent [group] that contains the set. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property parentGroup in sites @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property parentGroup for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs index 5323fb63b88..8ae9b6a0bfe 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs index 5272ce817e1..9b53394e851 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/ChildrenRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new term object. @@ -81,7 +81,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the first level children of a [set] or [term] resource using the children navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs index 9b74770a8f2..38a63c31aad 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs index 99993797c77..5f8344a6f0d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs index cce8ef0e9a2..ea9aeac74f3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index d036cd77b69..d4fab5f23f4 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index c4cd84b47eb..6f882b3db40 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index f814e34c1a4..82fe2aa6f74 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index b1a7d6b0361..df22561e45c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 93ef34d21ae..f0e4018b72b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 4c9d49d7cd4..ef774b65889 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs index 4a365e9546f..158474b2466 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs index 83931cbbee3..7d23a1eeed5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 3e0284e8c26..ad58fc56f0c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index bf05d682b29..2c5b16de142 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 48b361d6b67..8b972313d26 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index 332a431cded..7244904eb09 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 1c79f3660c8..a4ed14326b6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs index d9e95b8a8d9..bc0a1e23a06 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs index a9ec4860c1b..9fe7b488769 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs index df3064420cd..efde339de36 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Children/Item/TermItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Children terms of set in term [store]. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs index 2942d8ee483..53af6efc744 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 36213e89f13..686a3b78f16 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 31ee5ce5f32..e8611189fff 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index 3ed4c9a98b3..30aab360135 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 0e9fe46a44a..6ba0da084ce 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs index af3321a291e..b428da7364f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs index ae4c23a1b72..e212b5ecb72 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/SetItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// All sets under the group in a term [store]. @@ -79,7 +79,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sets in sites @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sets for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs index 1e71c499601..cf3d6a11a68 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index e90765a52a2..8248ee2e389 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 21d27e243a8..c631d69a56c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index df58556b9ae..29744fdcac6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index aaaeb23cafb..a447970a312 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index 5b62a4d418a..03efda2ecc5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index b889bc15657..75c205797ae 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index ab13585e30b..c00241a7c76 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 6541ebf267a..344537444ad 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index d4f1dbb9caa..f36fbed15f7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index 784156c82be..d182e46da80 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 244db86da27..0086116b148 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index e2f9844abeb..a8fa6ddec4b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 3570b29c577..44647b31919 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index eeb902c6477..72d82814f51 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 1e9334ed897..d68e1fb1ed6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 132dd1a0e82..d8e4992bdc8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index 059f5696ffb..00a53db6dc2 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 2a73c421ab5..03e81067af8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs index a36458dcab7..8df6341801c 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs index 8c1d9cb30f7..706e32358e5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/ParentGroup/Sets/SetsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sets for sites @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the set objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs index 694c21533b9..1febbe5902a 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index e800535f19d..3a669cda7c7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs index 8b93c3d57ea..871398896d3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Indicates which terms have been pinned or reused directly under the set. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs index f6c23ab04e5..de90a4dc582 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index e3e0f7b2441..a23ea17ae95 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs index f5072265ddd..d827c24bcb3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Relations/RelationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -80,7 +80,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the different relation of a [term] or [set] from the relations navigation property. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs index 18e249d2127..b42fc99e2f8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/SetItemRequestBuilder.cs @@ -66,7 +66,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a set object. @@ -86,7 +86,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a set object. @@ -108,7 +108,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a set object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs index 5af7f80c5fd..3dd566570b5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs index f3c372d4f29..6ed0418e25e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/ChildrenRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to children for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Children of current term. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs index 303143f7f39..e1329f4e080 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs index 7ff5aa03044..73ce1e78d40 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 5da32f94b80..cc52eddfd8e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs index e64f817a9d5..423d1a3fc8e 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs index a25507875ca..a62734267e5 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 7488d038bbe..60000b665f8 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs index 404b0e32ae5..ec7b432afe1 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs index 00ec8a58865..806c67c8c9f 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs index ccc22a8bcd1..215aa7f77de 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Children/Item/TermItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Children of current term. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property children in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property children for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs index 40eeb0bafa6..6999fe09e6d 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs index 30a0347999d..a37bdcdd226 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/FromTerm/FromTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The from [term] of the relation. The term from which the relationship is defined. A null value would indicate the relation is directly with the [set]. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs index 7ced254ba71..3b3beb6b670 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/RelationItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// To indicate which terms are related to the current term as either pinned or reused. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property relations in sites @@ -100,7 +100,7 @@ public async Task PatchAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property relations for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs index 5aee01c1d9e..6ca8c0b37af 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the relation is relevant. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs index 1b824f54e1d..49b02fbb77b 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/Item/ToTerm/ToTermRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The to [term] of the relation. The term to which the relationship is defined. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs index 01c6c1ffc6e..7c9067d5342 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Relations/RelationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RelationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to relations for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Relation body, Action(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Relation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// To indicate which terms are related to the current term as either pinned or reused. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs index cd6a2eba50a..5aeb5d710e7 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/Set/SetRequestBuilder.cs @@ -45,7 +45,7 @@ public SetRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The [set] in which the term is created. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs index 08c69660fea..48239e5a0ee 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/Item/TermItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a term object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a term object. @@ -103,7 +103,7 @@ public async Task PatchAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs index 97c8081e6ba..bb9121cf6ed 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/Item/Terms/TermsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TermCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to terms for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Term body, Action(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Term.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a term object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs index 55ba07b8f5d..5b669e25ac6 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/Sets/SetsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SetCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new set object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TermStore.Set.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Read the properties and relationships of a set object. diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs index 0e65fa5cce0..300ad6856ec 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/Item/StoreItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// The collection of termStores under this site. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property termStores in sites @@ -95,7 +95,7 @@ public async Task PatchAsync(Store body, Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property termStores for sites diff --git a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.cs index 36ccabd937e..a30bf4ccc51 100644 --- a/src/Microsoft.Graph/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Item/TermStores/TermStoresRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, StoreCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, StoreCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to termStores for sites @@ -79,7 +79,7 @@ public async Task PostAsync(Store body, Action(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Store.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of termStores under this site. diff --git a/src/Microsoft.Graph/Generated/Sites/Remove/RemoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/Remove/RemoveRequestBuilder.cs index d66a3effdda..1b48a27dae3 100644 --- a/src/Microsoft.Graph/Generated/Sites/Remove/RemoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/Remove/RemoveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(RemovePostRequestBody body, Action(requestInfo, RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RemoveResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unfollow a user's site or multiple sites. diff --git a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs index d91f1a97f4e..d470f8ad6e6 100644 --- a/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Sites/SitesRequestBuilder.cs @@ -57,8 +57,8 @@ public SitesRequestBuilder(Dictionary pathParameters, IRequestAd public SitesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sites{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. - /// Find more info here + /// Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -74,10 +74,10 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -110,7 +110,7 @@ public SitesRequestBuilder WithUrl(string rawUrl) { return new SitesRequestBuilder(rawUrl, RequestAdapter); } /// - /// List all available [sites][] in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a [$search][] query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites][]. For more guidance about building applications that use site discovery for scanning purposes, see [Best practices for discovering files and detecting changes at scale. + /// Search across a SharePoint tenant for [sites][] that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. /// public class SitesRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs index 141f24315a7..3db72a4c615 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/BookingBusinessesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingBusinessCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingBusinessCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new Microsoft Bookings business in a tenant. This is the first step in setting up a Bookings business where you must specify the business display name. You can include other information such as business address, web site address, and scheduling policy, or set that information later by updating the bookingBusiness. @@ -81,7 +81,7 @@ public async Task PostAsync(BookingBusiness body, Action(requestInfo, BookingBusiness.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingBusiness.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of bookingBusiness objects that has been created for the tenant. This operation returns only the id and displayName of each Microsoft Bookings business in the collection. For performance considerations, it does not return other properties. You can get the other properties of a Bookings business by specifying its id in a GET operation. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Count/CountRequestBuilder.cs index 086366341cd..21bc1da3299 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.cs index 00188017887..fa443c8641f 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/AppointmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingAppointmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new bookingAppointment for the specified bookingBusiness. @@ -81,7 +81,7 @@ public async Task PostAsync(BookingAppointment body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of bookingAppointment objects for the specified bookingBusiness. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Count/CountRequestBuilder.cs index b552b420705..b0ac565a969 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.cs index f45d93ba9ca..b701f39abff 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/BookingAppointmentItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a bookingAppointment object in the specified bookingBusiness. The startDateTime and endDateTime properties are always returned in UTC. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a bookingAppointment object in the specified bookingBusiness. @@ -93,7 +93,7 @@ public async Task PatchAsync(BookingAppointment body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a bookingAppointment in the specified bookingBusiness. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.cs index 55e7b8415b5..9dcc1efab71 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Appointments/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.cs index cd5730d01f7..d5866f16d19 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/BookingBusinessItemRequestBuilder.cs @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a bookingBusiness object. @@ -111,7 +111,7 @@ public async Task GetAsync(Action(requestInfo, BookingBusiness.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingBusiness.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a bookingBusiness object. @@ -133,7 +133,7 @@ public async Task PatchAsync(BookingBusiness body, Action(requestInfo, BookingBusiness.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingBusiness.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a bookingBusiness object. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs index 539a7cb5faf..eb49f4aca95 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingAppointmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to calendarView for solutions @@ -80,7 +80,7 @@ public async Task PostAsync(BookingAppointment body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The set of appointments of this business in a specified date range. Read-only. Nullable. @@ -153,9 +153,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("end")] public string? End { get; set; } #nullable restore #else + [QueryParameter("end")] public string End { get; set; } #endif /// Expand related entities @@ -214,9 +216,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("start")] public string? Start { get; set; } #nullable restore #else + [QueryParameter("start")] public string Start { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Count/CountRequestBuilder.cs index 3b82620eb24..3f297b754a9 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs index 61a2e376aad..c796c510262 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/BookingAppointmentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The set of appointments of this business in a specified date range. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property calendarView in solutions @@ -90,7 +90,7 @@ public async Task PatchAsync(BookingAppointment body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingAppointment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property calendarView for solutions @@ -200,9 +200,11 @@ public class BookingAppointmentItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("end")] public string? End { get; set; } #nullable restore #else + [QueryParameter("end")] public string End { get; set; } #endif /// Expand related entities @@ -228,9 +230,11 @@ public class BookingAppointmentItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("start")] public string? Start { get; set; } #nullable restore #else + [QueryParameter("start")] public string Start { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 4459b33754f..1c280afa631 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// Cancel the specified bookingAppointment in the specified bookingBusiness and send a message to the involved customer and staff members. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Count/CountRequestBuilder.cs index dae1fe0247b..ff53b5b1b08 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.cs index 2c0024a32ed..9ac186c0726 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/CustomQuestionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingCustomQuestionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomQuestionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new bookingCustomQuestion object. @@ -81,7 +81,7 @@ public async Task PostAsync(BookingCustomQuestion body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingCustomQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the bookingCustomQuestion resources associated with a bookingBusiness. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.cs index d1a5d80de07..8c1996f8fd2 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/CustomQuestions/Item/BookingCustomQuestionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a bookingCustomQuestion object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, BookingCustomQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a bookingCustomQuestion object. @@ -88,7 +88,7 @@ public async Task PatchAsync(BookingCustomQuestion body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingCustomQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomQuestion.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a bookingCustomQuestion object. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Count/CountRequestBuilder.cs index 0c17424c728..abb0de39ef0 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.cs index caea17f1a2d..85c56881fda 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/CustomersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingCustomerBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomerBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new bookingCustomer object. @@ -81,7 +81,7 @@ public async Task PostAsync(BookingCustomerBase body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingCustomerBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomerBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of bookingCustomer objects of a business. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.cs index f776f281299..3149e9ee464 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Customers/Item/BookingCustomerBaseItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a bookingCustomer object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, BookingCustomerBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomerBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a bookingCustomer object. @@ -88,7 +88,7 @@ public async Task PatchAsync(BookingCustomerBase body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingCustomerBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCustomerBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified bookingCustomer object. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.cs index b92ded2c987..d221329c03b 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/GetStaffAvailability/GetStaffAvailabilityRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetStaffAvailabilityPo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetStaffAvailabilityResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetStaffAvailabilityResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the availability information of staff members of a Microsoft Bookings calendar. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.cs index 3286ada7334..88e3ebb242a 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Publish/PublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Make the scheduling page of a business available to external customers. Set the isPublished property to true, and the publicUrl property to the URL of the scheduling page. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Count/CountRequestBuilder.cs index 1217e7e280d..75baf7d5aa9 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.cs index 82105a42253..b43df72fd4c 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/Item/BookingServiceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a bookingService object in the specified bookingBusiness. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, BookingService.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingService.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment. @@ -88,7 +88,7 @@ public async Task PatchAsync(BookingService body, Action(requestInfo, BookingService.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingService.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a bookingService object in the specified bookingBusiness. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.cs index 7728e5c85cc..7ec61db1290 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Services/ServicesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingServiceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingServiceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new bookingService for the specified bookingBusiness. @@ -81,7 +81,7 @@ public async Task PostAsync(BookingService body, Action(requestInfo, BookingService.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingService.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of bookingService objects in the specified bookingBusiness. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Count/CountRequestBuilder.cs index 1aea6429349..f4aad43e507 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.cs index 78b5836da24..94c26d22b4f 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/Item/BookingStaffMemberBaseItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, BookingStaffMemberBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingStaffMemberBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a bookingStaffMember in the specified bookingBusiness. @@ -88,7 +88,7 @@ public async Task PatchAsync(BookingStaffMemberBase body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingStaffMemberBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingStaffMemberBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a bookingStaffMember in the specified bookingBusiness. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.cs index d1bbd8fdac1..d28720c633d 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/StaffMembers/StaffMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingStaffMemberBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingStaffMemberBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new bookingStaffMember in the specified bookingBusiness. @@ -81,7 +81,7 @@ public async Task PostAsync(BookingStaffMemberBase body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, BookingStaffMemberBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingStaffMemberBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of bookingStaffMember objects in the specified bookingBusiness. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.cs index 0afeaa4cd5a..ca62163cb93 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingBusinesses/Item/Unpublish/UnpublishRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Make the scheduling page of this business not available to external customers. Set the isPublished property to false, and the publicUrl property to null. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.cs index da1d656baae..78337c7eb27 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/BookingCurrenciesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, BookingCurrencyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCurrencyCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to bookingCurrencies for solutions @@ -80,7 +80,7 @@ public async Task PostAsync(BookingCurrency body, Action(requestInfo, BookingCurrency.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCurrency.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of bookingCurrency objects available to a Microsoft Bookings business. diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Count/CountRequestBuilder.cs index b6d97b026f7..63275d0374d 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.cs index 8f2b04fdd5f..50d357f9fce 100644 --- a/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/BookingCurrencies/Item/BookingCurrencyItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the properties of a bookingCurrency object that is available to a Microsoft Bookings business. Use the id property, which is the currency code, to specify the currency. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, BookingCurrency.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCurrency.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bookingCurrencies in solutions @@ -86,7 +86,7 @@ public async Task PatchAsync(BookingCurrency body, Action(requestInfo, BookingCurrency.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, BookingCurrency.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bookingCurrencies for solutions diff --git a/src/Microsoft.Graph/Generated/Solutions/SolutionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Solutions/SolutionsRequestBuilder.cs index 9075c8b4478..42b77c71b73 100644 --- a/src/Microsoft.Graph/Generated/Solutions/SolutionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Solutions/SolutionsRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, SolutionsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SolutionsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update solutions @@ -76,7 +76,7 @@ public async Task PatchAsync(SolutionsRoot body, Action(requestInfo, SolutionsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SolutionsRoot.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get solutions diff --git a/src/Microsoft.Graph/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.cs index 146674fce65..fe8aade5c10 100644 --- a/src/Microsoft.Graph/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/SubscribedSkus/Item/SubscribedSkuItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get a specific commercial subscription that an organization has acquired. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SubscribedSku.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscribedSku.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in subscribedSkus @@ -86,7 +86,7 @@ public async Task PatchAsync(SubscribedSku body, Action(requestInfo, SubscribedSku.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscribedSku.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from subscribedSkus diff --git a/src/Microsoft.Graph/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.cs b/src/Microsoft.Graph/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.cs index 675eb5c09f6..8a2f8ae38a7 100644 --- a/src/Microsoft.Graph/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/SubscribedSkus/SubscribedSkusRequestBuilder.cs @@ -54,7 +54,7 @@ public async Task GetAsync(Action(requestInfo, SubscribedSkuCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscribedSkuCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to subscribedSkus @@ -75,7 +75,7 @@ public async Task PostAsync(SubscribedSku body, Action(requestInfo, SubscribedSku.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscribedSku.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of commercial subscriptions that an organization has acquired. For the mapping of license names as displayed on the Azure portal or the Microsoft 365 admin center against their Microsoft Graph skuId and skuPartNumber properties, see Product names and service plan identifiers for licensing. diff --git a/src/Microsoft.Graph/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs index 5cbe5ef66c9..3449673ff5c 100644 --- a/src/Microsoft.Graph/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Subscriptions/Item/Reauthorize/ReauthorizeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reauthorize a subscription when you receive a reauthorizationRequired challenge. diff --git a/src/Microsoft.Graph/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.cs index a9e71889ce5..8f4bd73b397 100644 --- a/src/Microsoft.Graph/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Subscriptions/Item/SubscriptionItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type. @@ -93,7 +93,7 @@ public async Task PatchAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs index e4ee63b7958..fc85f051eeb 100644 --- a/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Subscriptions/SubscriptionsRequestBuilder.cs @@ -54,7 +54,7 @@ public async Task GetAsync(Action(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SubscriptionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources. @@ -76,7 +76,7 @@ public async Task PostAsync(Subscription body, Action(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Subscription.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Teams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Count/CountRequestBuilder.cs index 741b22c2bc7..2378e7fbcb4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.cs index 3e55bbda701..9f41be4b577 100644 --- a/src/Microsoft.Graph/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.cs index 154e760ba63..5540b3b879d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/AllChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of channels either in this team or shared with this team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Count/CountRequestBuilder.cs index 8e9774e4f43..a5f10646b19 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs index 328e88978de..e8ec9e82ab3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of channels either hosted in or shared with the team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchiveRequestBuilder.cs index d95e28cd2ed..2625303a178 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Archive/ArchiveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ArchivePostRequestBody body, Action /// Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/ChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/ChannelsRequestBuilder.cs index 857d07ad9cf..cdbf3e670b3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/ChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/ChannelsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. @@ -86,7 +86,7 @@ public async Task PostAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of channels in this team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Count/CountRequestBuilder.cs index 043bdaefd9d..8f4b4487401 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs index 2007d389de4..597cd68309e 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 8336c59b652..c32431816c8 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. @@ -111,7 +111,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified channel. @@ -133,7 +133,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the channel. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 9dada1ae4f7..da5eadef289 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index f74f9884e23..cd068c2cd6b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs index 782f88200be..7d7b7166baa 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs index da2d103972b..39b9f0129c8 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs index 3cba52b02f6..1f48f82dc7e 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs index d079317b425..98567f25663 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index cc7849b2209..4a2bb015a50 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs index bb950d0a565..7a3baad1f02 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs index b17d5ffd13e..e3b978ec775 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs index 913725baa6e..43f77e03b72 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index a7273a73a25..b5e72c5d0f9 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 10dead61b8b..175b05fb6bc 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 39e562e704d..d0173c490b8 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for teams @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 242ac3356a2..1f0724d9165 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in teams @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 019c9fa89d3..885cf6293c1 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in teams @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index 5cb1f491181..8618e008257 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 00cdb6a85d2..90c886ba270 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 0fc4937a47e..952b7a47de5 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in teams @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 9dd48df057e..ff7313301c5 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index 27d4a242f64..00d64bc9e56 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for teams @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 64751ae81e6..57e8f775a76 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in teams @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 97ec0d0e149..6a3aadf74ee 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in teams @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 6176f0678d7..8c0e6b1f7c1 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index f6f1ef5bc9a..3dbb42488a2 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 5f7c905f133..83ff106f2f5 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 1e8b3543df6..b2294da9f1c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 26ddf4250aa..30da2f2a8a4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index c8aaddda890..bb39b746277 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 5830b82947c..d3d5b826eb1 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 56478d89d4d..ca0589544d7 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 82605bbecee..151278489de 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 1e019be5f1f..876f6200560 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 0d373f9b728..fe082abfc8f 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs index ca7f1020050..2888c19da03 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs index a64540e48f9..e6f25aff246 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index db6163aff2e..ab3ed1c9598 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 0d14dfa0c8d..08c8042e171 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index 1effe2a631b..945d3975105 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index e11f8eaecc9..4dd126f02ef 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in teams @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index 8dc19c63626..e4fa9b10f93 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 80b2a2ced51..796ce926ecb 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for teams @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs index 84f9aeb5870..9229e96fb5c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index c49b7810c21..5efd64e69be 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index 282e97440eb..3822c6942dd 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs index 174f737d7bc..95dd322ad8a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Clone/CloneRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Clone/CloneRequestBuilder.cs index 40ce1bee457..3d99438ed7c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Clone/CloneRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Clone/CloneRequestBuilder.cs @@ -28,7 +28,7 @@ public CloneRequestBuilder(Dictionary pathParameters, IRequestAd public CloneRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/clone", rawUrl) { } /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// Find more info here /// /// The request body @@ -47,10 +47,10 @@ public async Task PostAsync(ClonePostRequestBody body, Action - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 8babb45c337..2ded0d5bc85 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Group/GroupRequestBuilder.cs index 01bc9c73fd1..0a0a7bb2035 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Group/GroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get group from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Count/CountRequestBuilder.cs index b569462ac83..bd7e4671363 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs index 5c551574216..9e22f1722d6 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of incoming channels (channels shared with a team). diff --git a/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs index 43ed8f4f89d..17c110e0eb6 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// List of channels shared with the team. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an incoming channel (a channel shared with a team) from a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Count/CountRequestBuilder.cs index 33264b64ea8..ba77bb82320 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.cs index 4e2977bbe6a..965f09486b4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install an app to the specified team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsAppInstallation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of apps installed in the specified team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index 7cee7da995a..e4693caad63 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index 3682e4e7a15..19bf1253b63 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index 0241d8bd526..dd2d542f654 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the app installed in the specified team. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in teams @@ -102,7 +102,7 @@ public async Task PatchAsync(TeamsAppInstallation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstalls an app from the specified team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index bf225ef35d5..14cdeb828d2 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpgradePostRequestBody body, Action /// Upgrade an app installation within a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/Add/AddRequestBuilder.cs index 48a08825195..3e1ab20bce4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/Count/CountRequestBuilder.cs index 21296371a94..487b92e4e7c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index a69a839ab82..ca991277b88 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a team. @@ -88,7 +88,7 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a conversationMember from a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs index 2ed8286496f..6cc3a6c3882 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a new conversationMember to a team. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the conversationMember collection of a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Operations/Count/CountRequestBuilder.cs index 9d796c27550..7b1719e60e8 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs index 053eaaa4220..477a8d51706 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The async operations that ran or are running on this team. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in teams @@ -85,7 +85,7 @@ public async Task PatchAsync(TeamsAsyncOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Operations/OperationsRequestBuilder.cs index bd0efad321b..cd3081dad59 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for teams @@ -79,7 +79,7 @@ public async Task PostAsync(TeamsAsyncOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The async operations that ran or are running on this team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Count/CountRequestBuilder.cs index 59ec3879be9..346fe121245 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs index f80ac1bfd0e..18304aad07d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index f88b74b5c41..d89b7ccf898 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index 7638c82acef..6eeade1c25a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index 7df7085c419..d42f681add8 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 6233d2bf3b3..ce960e8331e 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index fb7e0f99a37..56f79eb769d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index be13758f4cf..a683718bee7 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 527ee039d12..b66ff71e382 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A collection of permissions granted to apps to access the team. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in teams @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index 469fe6aad65..0b5668b2169 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 1f787b4e08d..458437f5f8d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for teams @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the team. This list specifies the Azure AD apps that have access to the team, along with each app's corresponding type of resource-specific access. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 65092baf249..51d099db6c2 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Photo/PhotoRequestBuilder.cs index 48883ff0b3a..96223d21f7c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Photo/PhotoRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in teams @@ -72,7 +72,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Azure Active Directory. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.cs index bbc524fe599..0ccd734c4da 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Photo/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in teams @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 040b8ef2784..6291055eb57 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 67c34d61386..f6973813636 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs index 156e8836eb5..1855c06dfe4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs index 8fb5447ff07..6c4f7ef8b33 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs index 632b1832174..75af6396002 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs index 184385192b5..c84a49c57bb 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 749183903a9..af466c8a3e3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs index 69d8d008dbc..a769caa4906 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs index 311224a7420..cfe642ee25a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs index 01ae94f7874..d3d98d81dfd 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs index 76b82cae5a2..5c88737b4e0 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 0b97317bb80..84d318436a8 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 40956abc46e..363f801b9e2 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for teams @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index a2cc8f409c6..bfa7af92283 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in teams @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 821952b32e1..98df2249653 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in teams @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs index 27b150d006f..c00628403bf 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index a590832cc63..c15dd16ce6e 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index cb802efd876..cef8db6cd07 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in teams @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 5281207646a..ec18e2c3d73 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index ab100391906..abcf42ea076 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for teams @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 8762c49b9a7..964472b4856 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in teams @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 9802568688d..2caceeb2084 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in teams @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 03e1e22a470..3813972e208 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index a9d870834f5..7f3ea8d937e 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 38f4ba5334b..ea42c282675 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index e080428beff..78e85ae9756 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 852c8101c4e..27ead87831a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 6c37ac66635..9dea1ff0e61 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index f9becce470c..5604be67677 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 4c874dcd448..d00f77b3aa3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index acf58434a85..960c935eff3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 9c32a15eed3..03577cc75df 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index 4f22c59b587..1b94214be0a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Get the default channel, General, of a team. @@ -110,7 +110,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property primaryChannel in teams @@ -131,7 +131,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property primaryChannel for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 1d9e3b87612..6e69322e9fa 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs index 7dec2d1e01b..466d75f6f88 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs index 912fc00ef4b..107e4dbddd7 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 6da5ffcf0b9..7ea3bb6f587 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 2e15a62107e..08f5a191a18 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index d13762156a6..0acfa5b9063 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 66d957f5f8b..18e0da1b32f 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in teams @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index 7e4e580e3d6..aad352aab41 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index d8e09181b0e..09af32b16ab 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for teams @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs index 166cfb52d4b..964cdd21504 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 86c15a17907..0ab7c7c844b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs index c37748806b0..5b55dedf6d0 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs index 6dda590b4b3..333cba370ab 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs index 9d66116acaf..f94f92e8e71 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs index 4a75675db9c..965c763bce3 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an offerShiftRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property offerShiftRequests in teams @@ -86,7 +86,7 @@ public async Task PatchAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property offerShiftRequests for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs index 0c752385d32..ede6cf161bf 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an offerShiftRequest. @@ -81,7 +81,7 @@ public async Task PostAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of all offerShiftRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs index 84c918e62c7..039d01a8a5d 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs index b1aec561bdc..bdaab212885 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openShiftChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property openShiftChangeRequests in teams @@ -86,7 +86,7 @@ public async Task PatchAsync(OpenShiftChangeRequest body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property openShiftChangeRequests for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs index f3eb302c01b..9f210a781aa 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create instance of an openShiftChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShiftChangeRequest body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of openShiftChangeRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs index a05147b7a3a..5bcd929ee25 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs index 7911bd2db5e..d44007eac49 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openshift object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an openShift object. @@ -88,7 +88,7 @@ public async Task PatchAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an openShift object. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs index e61ab4a697a..7012c5fcd4c 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an openShift object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List openShift objects in a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs index 494450040cb..ea9e632a330 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/ScheduleRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schedule in teams @@ -136,7 +136,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schedule for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs index 479b99b777c..40e38cfbcd5 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs index 74a4517041c..c9fd76fe4be 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedulingGroup by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs index e148dc6897b..683f735eebd 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new schedulingGroup. @@ -81,7 +81,7 @@ public async Task PostAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of schedulingGroups in this schedule. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.cs index 7b300be50f4..923ab1221a1 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Share/ShareRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SharePostRequestBody body, Action /// Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs index 18d59e99426..a9158fe3c51 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs index bee29dfcb6d..ccab2c6a160 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a shift object by ID. @@ -66,10 +66,10 @@ public async Task GetAsync(Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// Find more info here /// /// The request body @@ -88,7 +88,7 @@ public async Task PatchAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a shift from the schedule. @@ -141,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs index c2d9837df8a..e9007e43a59 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. @@ -81,7 +81,7 @@ public async Task PostAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of shift instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs index c0e22bb1733..3c3cdac3318 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs index 238f0eebccc..da33eaadc75 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a swapShiftsChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property swapShiftsChangeRequests in teams @@ -86,7 +86,7 @@ public async Task PatchAsync(SwapShiftsChangeRequest bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property swapShiftsChangeRequests for teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs index e72092e99a5..845c6277b21 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of a swapShiftsChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(SwapShiftsChangeRequest bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of swapShiftsChangeRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs index bf694cdcb0e..87e9c0f03b6 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs index b26d66920ad..f6c58ca140b 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOffReason object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs index 26fb42cd872..0a93df9a8f4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOffReason. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOffReasons in a schedule. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs index 78fd596ca63..965f6824849 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs index 19a6f616df9..495032e1423 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeoffrequest object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property timeOffRequests in teams @@ -87,7 +87,7 @@ public async Task PatchAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOffRequest object. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs index 2f1ae6a1501..d286a81f9f4 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to timeOffRequests for teams @@ -80,7 +80,7 @@ public async Task PostAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of timeOffRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs index 0e168fd47fa..3b68575d2b1 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs index 52c0c304adc..f13b6effcec 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOff object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOff instance from a schedule. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs index 5e83797c5b6..e6f8b917b15 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOff instance in a schedule. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOff instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 5778e8d6d4b..a1136eb2caf 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Count/CountRequestBuilder.cs index 79dc21e03df..8d1cded5378 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs index 60153c720ab..364a75301ab 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs index 3056adb1e4e..d66026689a2 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a member of a standard tag in a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in teams @@ -87,7 +87,7 @@ public async Task PatchAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a member from a standard tag in a team. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.cs index ce99e301c28..e344ffa5430 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/Members/MembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new teamworkTagMember object in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the members of a standard tag in a team and their properties. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs index 0ba9c4b2cc5..898bdc7138a 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a tag object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a tag object. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a tag object permanently. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Tags/TagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Tags/TagsRequestBuilder.cs index 9a7d6dc8290..f08853fb757 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Tags/TagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Tags/TagsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a standard tag for members in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the tag objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/TeamItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/TeamItemRequestBuilder.cs index a15650a7dca..e805e711274 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/TeamItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/TeamItemRequestBuilder.cs @@ -135,7 +135,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified team. @@ -155,7 +155,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified team. @@ -177,7 +177,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from teams diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Template/TemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Template/TemplateRequestBuilder.cs index 8324fcd7521..19ee68b56ac 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Template/TemplateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Template/TemplateRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The template this team was created from. See available templates. diff --git a/src/Microsoft.Graph/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.cs index a6e58edb197..5fdf5aa48c5 100644 --- a/src/Microsoft.Graph/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/Item/Unarchive/UnarchiveRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. diff --git a/src/Microsoft.Graph/Generated/Teams/TeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teams/TeamsRequestBuilder.cs index b2dfcf64097..ca1e692dd7b 100644 --- a/src/Microsoft.Graph/Generated/Teams/TeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teams/TeamsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new team. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all teams in an organization. diff --git a/src/Microsoft.Graph/Generated/TeamsTemplates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamsTemplates/Count/CountRequestBuilder.cs index 54a5b0aeaa5..c7152defd02 100644 --- a/src/Microsoft.Graph/Generated/TeamsTemplates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamsTemplates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.cs index 6b26d55caca..be0a25487b0 100644 --- a/src/Microsoft.Graph/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamsTemplates/Item/TeamsTemplateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get entity from teamsTemplates by key @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update entity in teamsTemplates @@ -85,7 +85,7 @@ public async Task PatchAsync(TeamsTemplate body, Action(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete entity from teamsTemplates diff --git a/src/Microsoft.Graph/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.cs index 0abc8025b9c..7a41b2b81ac 100644 --- a/src/Microsoft.Graph/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TeamsTemplates/TeamsTemplatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add new entity to teamsTemplates @@ -79,7 +79,7 @@ public async Task PostAsync(TeamsTemplate body, Action(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get entities from teamsTemplates diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Count/CountRequestBuilder.cs index 77162155455..2186e53f8a7 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.cs index a3fe170bee6..48fd92f76a7 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/DeletedTeamsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeletedTeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeletedTeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deletedTeams for teamwork @@ -85,7 +85,7 @@ public async Task PostAsync(DeletedTeam body, Action(requestInfo, DeletedTeam.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeletedTeam.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the deletedTeam objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs index 92a10a06ea8..7bc83a43fb4 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.cs index a6441779257..1877c626082 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/ChannelsRequestBuilder.cs @@ -63,7 +63,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to channels for teamwork @@ -84,7 +84,7 @@ public async Task PostAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The channels that are either shared with this deleted team or created in this deleted team. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Count/CountRequestBuilder.cs index afe097585e5..5607dfb4746 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs index ca007c80aba..27edc1e17a3 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index 3360f09cc9f..640448eba49 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// The channels that are either shared with this deleted team or created in this deleted team. @@ -109,7 +109,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property channels in teamwork @@ -130,7 +130,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property channels for teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index 501e46a03af..61220137cba 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index baed98ef1c3..b96e7017826 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs index 3636f3c0237..734b2559fc7 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs index c5b04721a89..80daa6ec1a1 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs index fe4c2f0a84b..78bd644879f 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs index 43da2d64d25..5fffba06a59 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 4b5e5f97358..4a2c5b622b3 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs index fa7e4e7a0bf..9e254a5421a 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs index eeed4fb37c4..ce495dfeefa 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs index 190da044d58..47cc366a619 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index ab0d2406117..b59ee461881 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 4d7e96f4f31..4cca308268a 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index b4739b7722b..ef6c82a3857 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for teamwork @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 3df4c55924f..a2021137922 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in teamwork @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index f13c2148578..94fe87e88e9 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in teamwork @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index 25485d0d4ea..8ca644e0c76 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 92e9e27a030..1f1875faec0 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 6b4f24f0e15..83c2c19ba1a 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in teamwork @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 96052fa4612..a073fd3efa3 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index a855fb69147..abf26ab601f 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for teamwork @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index ac17206605a..d4195a0815e 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in teamwork @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index fdae86e1c0a..fa4bc924264 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in teamwork @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index ad63dc30ccc..94099b6410e 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index a110b8695d5..b4a1512ef91 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 9390c6429fb..a0694e68780 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 1586c3d344b..dbbf0fee391 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index edaf7141d05..b3ea1bd0618 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index b64fd7126e2..99afdc8dd15 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 3e6501b3f75..7f119bcf6f3 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index bda886a810e..422c44e6821 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 378523700dc..8d026a1f24f 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 6ed1ccecaa3..e847e681f3b 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 15ad9b7e04a..c6cc452b7ea 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs index 12721109146..f4af0a96486 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs index a9d3c160cf9..082d65ff89c 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 5731a19df99..30c6ec6525d 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 7e380da8388..5ed6bc8b399 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index c2d945f8cb8..ed953d2fd68 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 4a1bfefc039..65130366be8 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in teamwork @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index efd2b8cc775..1e855e17f80 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 963bcfec3ad..91e1633a766 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for teamwork @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs index fdef3060c64..c02f36fef07 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index be2541f24e7..4c5863c543e 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index fe913f10129..acb6b3da7c8 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs index b0c1e45974c..78f7b4e8f15 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.cs index 441ea079dc8..31db2a2a1f5 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/DeletedTeams/Item/DeletedTeamItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The deleted team. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DeletedTeam.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeletedTeam.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deletedTeams in teamwork @@ -90,7 +90,7 @@ public async Task PatchAsync(DeletedTeam body, Action(requestInfo, DeletedTeam.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeletedTeam.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deletedTeams for teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.cs index 30d73c49927..2d9e7e4400d 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/SendActivityNotificationToRecipients/SendActivityNotificationToRecipientsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationToRecipientsPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send activity feed notifications to multiple users, in bulk. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.cs index a6bbd129a11..ee037c9d16c 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamsAppSettings/TeamsAppSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get teamsAppSettings from teamwork @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsAppSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property teamsAppSettings in teamwork @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.TeamsAppSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property teamsAppSettings for teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs index b5276b0827d..17b7d722766 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/TeamworkRequestBuilder.cs @@ -65,7 +65,7 @@ public TeamworkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Teamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Teamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update teamwork @@ -86,7 +86,7 @@ public TeamworkRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Teamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Teamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get teamwork diff --git a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Count/CountRequestBuilder.cs index d77e270d4a4..72cb078886d 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.cs index aeb57d84a64..813617bc2c1 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/Item/WorkforceIntegrationItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a workforceIntegration object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, WorkforceIntegration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkforceIntegration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a workforceIntegration object. @@ -88,7 +88,7 @@ public async Task PatchAsync(WorkforceIntegration body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkforceIntegration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkforceIntegration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an instance of a workforceIntegration. diff --git a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs index cda3f09f952..4d896d69b17 100644 --- a/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Teamwork/WorkforceIntegrations/WorkforceIntegrationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WorkforceIntegrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkforceIntegrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new workforceIntegration object.You can set up which entities you want to receive Shifts synchronous change notifications on and set entities to configure filtering by WFM rules eligibility for, including swap requests. @@ -81,7 +81,7 @@ public async Task PostAsync(WorkforceIntegration body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WorkforceIntegration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WorkforceIntegration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of workforceIntegration objects. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Count/CountRequestBuilder.cs index 01273c6af96..195175398ad 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.cs index d475b5742ca..17a6bb634e7 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/DelegatedAdminCustomersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminCustomerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminCustomerCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to delegatedAdminCustomers for tenantRelationships @@ -80,7 +80,7 @@ public async Task PostAsync(DelegatedAdminCustomer body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminCustomer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminCustomer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the delegatedAdminCustomer objects and their properties. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.cs index 451111926cc..1377f41225e 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/DelegatedAdminCustomerItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the properties of a delegatedAdminCustomer object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminCustomer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminCustomer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property delegatedAdminCustomers in tenantRelationships @@ -91,7 +91,7 @@ public async Task PatchAsync(DelegatedAdminCustomer body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminCustomer.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminCustomer.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property delegatedAdminCustomers for tenantRelationships diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Count/CountRequestBuilder.cs index 75da5ed1428..714a5d69965 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.cs index dff55987594..f6866f135d9 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/Item/DelegatedAdminServiceManagementDetailItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Contains the management details of a service in the customer tenant that's managed by delegated administration. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property serviceManagementDetails in tenantRelationships @@ -85,7 +85,7 @@ public async Task PatchAsync(DelegatedAdm {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property serviceManagementDetails for tenantRelationships diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.cs index 9c6e35bf9aa..b12ce8acd7f 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminCustomers/Item/ServiceManagementDetails/ServiceManagementDetailsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAs {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminServiceManagementDetailCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminServiceManagementDetailCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to serviceManagementDetails for tenantRelationships @@ -80,7 +80,7 @@ public async Task PostAsync(DelegatedAdmi {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminServiceManagementDetail.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the delegatedAdminServiceManagementDetail objects and their properties. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Count/CountRequestBuilder.cs index 1a695a46a08..55db7c52594 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.cs index 68b70497939..9f79d32444b 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/DelegatedAdminRelationshipsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new delegatedAdminRelationship object. @@ -81,7 +81,7 @@ public async Task PostAsync(DelegatedAdminRelationsh {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the delegatedAdminRelationship objects and their properties. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.cs index 00f5bf0dacd..2c1c52ec760 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/AccessAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminAccessAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminAccessAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new delegatedAdminAccessAssignment object. @@ -81,7 +81,7 @@ public async Task PostAsync(DelegatedAdminAccess {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the delegatedAdminAccessAssignment objects and their properties. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Count/CountRequestBuilder.cs index 9319f705d0c..be8c910b2c8 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs index b2f15ee7bb7..b6171bf7149 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/AccessAssignments/Item/DelegatedAdminAccessAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties of a delegatedAdminAccessAssignment object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a delegatedAdminAccessAssignment object. @@ -88,7 +88,7 @@ public async Task PatchAsync(DelegatedAdminAcces {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminAccessAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a delegatedAdminAccessAssignment object. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs index f4e124e9b2f..44ab8035cda 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/DelegatedAdminRelationshipItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Read the properties of a delegatedAdminRelationship object. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a delegatedAdminRelationship object. A relationship can only be updated if it's in the created status. @@ -103,7 +103,7 @@ public async Task PatchAsync(DelegatedAdminRelations {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a delegatedAdminRelationship object. A relationship can only be deleted if it's in the 'created' status. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Count/CountRequestBuilder.cs index e82b8813ff9..c2d22e90163 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.cs index 34d78238808..876cc207e7c 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/Item/DelegatedAdminRelationshipOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties of a delegatedAdminRelationshipOperation object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in tenantRelationships @@ -86,7 +86,7 @@ public async Task PatchAsync(DelegatedAdmin {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for tenantRelationships diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.cs index 6ec999e091a..93c9132d6df 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Operations/OperationsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsyn {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for tenantRelationships @@ -80,7 +80,7 @@ public async Task PostAsync(DelegatedAdminR {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the delegatedAdminRelationshipOperation objects and their properties. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Count/CountRequestBuilder.cs index e6f1020b4cf..508cc58d7c2 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.cs index 1570233a20e..76284d7e664 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/Item/DelegatedAdminRelationshipRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a delegatedAdminRelationshipRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property requests in tenantRelationships @@ -86,7 +86,7 @@ public async Task PatchAsync(DelegatedAdminRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property requests for tenantRelationships diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.cs index 15eafc36c78..32323dcfd37 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/DelegatedAdminRelationships/Item/Requests/RequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new delegatedAdminRelationshipRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(DelegatedAdminRel {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DelegatedAdminRelationshipRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the delegatedAdminRelationshipRequest objects and their properties. diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.cs index 1ea9501f728..1027a253902 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByDomainNameWithDomainName/FindTenantInformationByDomainNameWithDomainNameRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, TenantInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TenantInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function findTenantInformationByDomainName diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.cs index a1071fbc5aa..43b887b77b7 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/FindTenantInformationByTenantIdWithTenantId/FindTenantInformationByTenantIdWithTenantIdRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task GetAsync(Action(requestInfo, TenantInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TenantInformation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function findTenantInformationByTenantId diff --git a/src/Microsoft.Graph/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.cs index 07a220c8c19..4e83f1d164f 100644 --- a/src/Microsoft.Graph/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/TenantRelationships/TenantRelationshipsRequestBuilder.cs @@ -73,7 +73,7 @@ public async Task GetAsync(Action(requestInfo, TenantRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TenantRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update tenantRelationships @@ -94,7 +94,7 @@ public async Task PatchAsync(TenantRelationship body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TenantRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TenantRelationship.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get tenantRelationships diff --git a/src/Microsoft.Graph/Generated/Users/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Count/CountRequestBuilder.cs index a1a0d8bad5a..e1ba0f7be58 100644 --- a/src/Microsoft.Graph/Generated/Users/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs index f4223f49760..650872ae86a 100644 --- a/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 63960b52b15..d23ae1840e0 100644 --- a/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Users/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/GetByIds/GetByIdsRequestBuilder.cs index c74f5b8a0f8..06ba8ac0bdc 100644 --- a/src/Microsoft.Graph/Generated/Users/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/ActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/ActivitiesRequestBuilder.cs index b807742c3fa..5258ce58eaf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/ActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/ActivitiesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, UserActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to activities for users @@ -85,7 +85,7 @@ public async Task PostAsync(UserActivity body, Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/Count/CountRequestBuilder.cs index 57d9ddb3c16..82e6415b9e7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs index b0c9e98736b..74c96e4aace 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs index 076af851cd8..173d38290c2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/HistoryItemsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ActivityHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to historyItems for users @@ -79,7 +79,7 @@ public async Task PostAsync(ActivityHistoryItem body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs index 353044b0c12..da023060ab0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/Activity/ActivityRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional. NavigationProperty/Containment; navigation property to the associated activity. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs index 69b65e13e9a..eee97f38a24 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/HistoryItems/Item/ActivityHistoryItemItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Optional. NavigationProperty/Containment; navigation property to the activity's historyItems. @@ -69,11 +69,11 @@ public async Task GetAsync(Action(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create a new or replace an existing history item for an existing user activity. - /// Find more info here + /// Delete an existing history item for an existing user activity. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -91,7 +91,7 @@ public async Task PatchAsync(ActivityHistoryItem body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ActivityHistoryItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property historyItems for users @@ -144,7 +144,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create a new or replace an existing history item for an existing user activity. + /// Delete an existing history item for an existing user activity. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.cs index 914efef3640..4125cc84e46 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/Item/UserActivityItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// The user's activities across devices. Read-only. Nullable. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property activities in users @@ -91,7 +91,7 @@ public async Task PatchAsync(UserActivity body, Action(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an existing user activity for your app. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.cs index bd4088804fd..1c3f738f14e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Activities/Recent/RecentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, RecentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RecentResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get recent activities for a given user. This OData function has some default behaviors included to make it operate like a 'most recently used' API. The service will query for the most recent historyItems, and then pull those related activities. Activities will be sorted according to the most recent lastModified on the historyItem. This means that activities without historyItems will not be included in the response. The UserActivity.ReadWrite.CreatedByApp permission will also apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate. diff --git a/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs index ec637b46d7b..800e1e75f98 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/AgreementAcceptancesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptanceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the signed-in user's agreementAcceptance objects. diff --git a/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Count/CountRequestBuilder.cs index 5893417a75e..46cbf17ae96 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs index 76ce9826bb7..8d061e65eaf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AgreementAcceptances/Item/AgreementAcceptanceItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AgreementAcceptance.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user's terms of use acceptance statuses. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs index c464b316e5e..c6d84305a28 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/AppRoleAssignmentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to assign an app role to a user. To grant an app role assignment to a user, you need three identifiers: @@ -81,7 +81,7 @@ public async Task PostAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents the app roles a user has been granted for an application. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Count/CountRequestBuilder.cs index 9b0c88fb6bb..3e2104d6b93 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs index 79be860d5aa..cbf515a11d4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AppRoleAssignments/Item/AppRoleAssignmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Represents the app roles a user has been granted for an application. Supports $expand. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property appRoleAssignments in users @@ -86,7 +86,7 @@ public async Task PatchAsync(AppRoleAssignment body, Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an appRoleAssignment that has been granted to a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs index a998880cf0d..97e68b32004 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/AssignLicense/AssignLicenseRequestBuilder.cs @@ -48,7 +48,7 @@ public AssignLicenseRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add or remove subscriptions for the user. You can also enable and disable specific plans associated with a subscription. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs index cd53a22dc06..cd772f0fff2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/AuthenticationRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// The authentication methods that are supported for the user. @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property authentication in users @@ -135,7 +135,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Authentication.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property authentication for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Count/CountRequestBuilder.cs index 30d71ee800b..7c2a4abbd0f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs index 0bfdab024d9..07b75383b32 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/EmailMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, EmailAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Set a user's emailAuthenticationMethod object. Email authentication is a self-service password reset method. A user may only have one email authentication method. @@ -81,7 +81,7 @@ public async Task PostAsync(EmailAuthenticationMethod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's emailAuthenticationMethod objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs index 4d57fdc7a34..11f99067ed7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/EmailMethods/Item/EmailAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single email authentication method object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a user's email address represented by an emailAuthenticationMethod object. @@ -88,7 +88,7 @@ public async Task PatchAsync(EmailAuthenticationMetho {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmailAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a user's emailAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Count/CountRequestBuilder.cs index 90f7e887e72..a13bfdf8a17 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs index f8d76e9eb01..784aaa3ce1a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Fido2MethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, Fido2AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Fido2AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's FIDO2 Security Key Authentication Method objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs index 2a5318c1f68..0d36c6308a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Fido2Methods/Item/Fido2AuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single FIDO2 Security Key Authentication Method object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Fido2AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Fido2AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a user's FIDO2 Security Key Authentication Method object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Count/CountRequestBuilder.cs index 16d3484c5e8..d522283c6a8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs index 3aad6a19a93..e6acf78e19c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/AuthenticationMethodItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property methods in users @@ -72,7 +72,7 @@ public async Task PatchAsync(AuthenticationMethod body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of an authenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs index 3745d2fb9e5..4f799ed9f11 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/Item/ResetPassword/ResetPasswordRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(ResetPasswordPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordResetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordResetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reset a user's password, represented by a password authentication method object. This can only be done by an administrator with appropriate permissions and cannot be performed on a user's own account. This flow writes the new password to Azure Active Directory and pushes it to on-premises Active Directory if configured using password writeback. The admin can either provide a new password or have the system generate one. The user is prompted to change their password on their next sign in. This reset is a long-running operation and will return a Location header with a link where the caller can periodically check for the status of the reset operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.cs index 2c5aa25b9a1..f007537ad59 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Methods/MethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to methods for users @@ -80,7 +80,7 @@ public async Task PostAsync(AuthenticationMethod body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of authentication methods registered to a user. The authentication methods are defined by the types derived from the authenticationMethod resource type, and only the methods supported on this API version. See Azure AD authentication methods API overview for a list of currently supported methods. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs index bd13b4cb060..b4dbb8f22cc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs index 5ae63b96003..d56007b78cb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/Device/DeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The registered device on which Microsoft Authenticator resides. This property is null if the device is not registered for passwordless Phone Sign-In. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs index a363b0fe611..d95807dd2ac 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/Item/MicrosoftAuthenticatorAuthenticationMethodItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a microsoftAuthenticatorAuthenticationMethod object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MicrosoftAuthenticatorAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a microsoftAuthenticatorAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs index c30bb77ce9d..3e9c155b093 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/MicrosoftAuthenticatorMethods/MicrosoftAuthenticatorMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MicrosoftAuthenticatorAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MicrosoftAuthenticatorAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the microsoftAuthenticatorAuthenticationMethod objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Count/CountRequestBuilder.cs index 854121e73d7..b697dfb701f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs index 5456bf5035f..6b291a0ed1c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/Item/LongRunningOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in users @@ -86,7 +86,7 @@ public async Task PatchAsync(LongRunningOperation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.cs index a01b89609d5..76f38750586 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, LongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for users @@ -79,7 +79,7 @@ public async Task PostAsync(LongRunningOperation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LongRunningOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the status of a long-running operation, represented by a longRunningOperation object. A long-running operation is initiated when you reset a user's password. This resource type is also the base type for the richLongRunningOperation object that represents the status of a long-running operation on a site or a list. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Count/CountRequestBuilder.cs index 8ef1e535abb..77bf808b081 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs index bb106209d67..a263405f3f7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/Item/PasswordAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a password that's registered to a user, represented by a passwordAuthenticationMethod object. For security, the password itself will never be returned in the object and the password property is always null. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs index 8f824197eba..b49c4c443df 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PasswordMethods/PasswordMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to passwordMethods for users @@ -80,7 +80,7 @@ public async Task PostAsync(PasswordAuthentication {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PasswordAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of the passwords registered to a user, represented by a passwordAuthenticationMethod object. This will return exactly one object, as a user can have exactly one password. For security, the password itself will never be returned in the object and the password property is always null. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Count/CountRequestBuilder.cs index 2003aa4aeb2..7e26d6ef772 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs index 31f052e0249..85995847334 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/DisableSmsSignIn/DisableSmsSignInRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs index 4f2dc4179fc..c0cb33170b0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/EnableSmsSignIn/EnableSmsSignInRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled: diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs index 682c5d1f328..a205ca8a83d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/Item/PhoneAuthenticationMethodItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Azure AD and B2B users, but not B2C users. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a user's phone number associated with a phone authentication method object. You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. @@ -98,7 +98,7 @@ public async Task PatchAsync(PhoneAuthenticationMetho {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a user's phone authentication method. This removes the phone number from the user and they will no longer be able to use the number for authentication, whether via SMS or voice calls. A user cannot have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs index 8d21ccbd5c0..d7cf797fea0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/PhoneMethods/PhoneMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action

(requestInfo, PhoneAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } ///

/// Add a new phone authentication method for a user. A user may only have one phone of each type, captured in the phoneType property. This means, for example, adding a mobile phone to a user with a preexisting mobile phone will fail. Additionally, a user must always have a mobile phone before adding an alternateMobile phone. Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled. Additionally, if a user is enabled by policy to use SMS sign-in and a mobile number is added, the system will attempt to register the number for use in that system. @@ -81,7 +81,7 @@ public async Task PostAsync(PhoneAuthenticationMethod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PhoneAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of phone authentication method objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Azure AD and B2B users, but not B2C users. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs index d7b74d87271..2312f9ff1a1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs index 0036e94917b..89c0783e094 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/Item/SoftwareOathAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single Software OATH token authentication method object and its properties. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SoftwareOathAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a user's Software OATH token authentication method object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs index 6e86ae0b15b..1802ad273bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/SoftwareOathMethods/SoftwareOathMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SoftwareOathAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SoftwareOathAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's software OATH token authentication method objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs index 81ee03d8c08..c6543aeda8c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs index 9deb0199c9f..8463b3a2819 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/Item/TemporaryAccessPassAuthenticationMethodItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve a user's single temporaryAccessPassAuthenticationMethod object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a users's temporaryAccessPassAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs index 067096e63a0..1c8dde804aa 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/TemporaryAccessPassMethods/TemporaryAccessPassMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task Get {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new temporaryAccessPassAuthenticationMethod object on a user. A user can only have one Temporary Access Pass that's usable within its specified lifetime. If the user requires a new Temporary Access Pass while the current Temporary Access Pass is valid, the admin can create a new Temporary Access Pass for the user, the previous Temporary Access Pass will be deleted, and a new Temporary Access Pass will be created. @@ -81,7 +81,7 @@ public async Task PostAsync(TemporaryAc {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TemporaryAccessPassAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs index c8fbdaa99e7..4d22e8a5651 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs index 936ed2a81a8..03bff4f62af 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/Device/DeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public DeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The registered device on which this Windows Hello for Business key resides. Supports $expand. When you get a user's Windows Hello for Business registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/windowsHelloForBusinessMethods/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs index e8ec18ed8d3..c81c6c44f7e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/Item/WindowsHelloForBusinessAuthenticationMethodItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a windowsHelloForBusinessAuthenticationMethod object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsHelloForBusinessAuthenticationMethod.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsHelloForBusinessAuthenticationMethod object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs index a507d8ac162..ee7323df046 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Authentication/WindowsHelloForBusinessMethods/WindowsHelloForBusinessMethodsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsHelloForBusinessAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsHelloForBusinessAuthenticationMethodCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the windowsHelloForBusinessAuthenticationMethod objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index d7322f97058..59a6b2cccaf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function allowedCalendarSharingRoles diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index 1f7af63aeeb..590ec523a96 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarPermission body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs index 6b1645ee5d5..6fba619a856 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index 82e02430048..92c567a355c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified permissions object of a user or group calendar that has been shared. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the permissions assigned to an existing sharee or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. @@ -88,7 +88,7 @@ public async Task PatchAsync(CalendarPermission body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete calendarPermission. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarRequestBuilder.cs index c28e91031ce..e75312b2526 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarRequestBuilder.cs @@ -75,7 +75,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -97,7 +97,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the properties and relationships of a calendar object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. There are two scenarios where an app can get another user's calendar: diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs index b5ccdc9d0e9..1c452e7e12e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs index 46415a3c4a3..b4645f7bc24 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs index a129e4bc2b7..a434ab4edfd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 6f2ee4a336b..787aefd53ac 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs index b33654955b0..da9a2297067 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 13eeb00d9a7..1bc6f519761 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index fade1cf5c96..07ae2deef67 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 018261c5709..b7696a8a383 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index e3d647de377..8ec91570fdd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 5efcf9005f3..d4351fecf0f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index aca7ea6e132..0c2b3c008f1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs index 873e71afd2d..8261632f46f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 69d05422a80..eae93f29803 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs index dd51cd7638e..5c7f1cf549e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs index f5aa114b3fb..2ac1b62f1b5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index a57f695fba2..81f36dbbf33 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs index 8513af2ec87..490dca3b69d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -160,9 +162,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index 79bd98c7c38..a8d8dacfd9e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index a0790330405..b915ef9f94e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 3b14bfb4972..59921f1bfcd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs index fed66d25d6f..d783889b493 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs index 4f555ce5f73..8bd3aec99ee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index b7f99981a63..0957bce8bf5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index c9c02f4ae84..20e15745470 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs index e4e27eea83b..ed8ff605cca 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index ec0090f80e5..b37bee55b56 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 9ad60a31ffc..cc0c4cebda9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 00cf00a9e24..1c5c6c5aa48 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 841fd704784..17ca45f6245 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index c157b9c3114..e7bb115f258 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index cef2d5c1cf5..621ae6491ce 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 4e68d1e152f..75605b2697c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index d8fd09b2bd2..3ec278a8174 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 18d11587367..f68430782d4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 148fb1ff8c0..a981acf4ea9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 60e63458a32..0ad6b540627 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 39a4ac8b9fd..ced68911d8f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 4ba31cdcd12..c57da412bb7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 8d5b690b1d2..d44336e424b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index f45fc195db2..ac85cd6eaa1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 4ff4db74438..4c347294f45 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 7774a1c889a..5dbd28cc342 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index bf6c3039e39..3fbc3cbcae9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index c6b4b8192a8..313d9470c8c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index f1842e4ce43..a9dc84ef18f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 7ca7c50a5bd..2d613ce84ac 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index c0f6a7bf53e..1066dec43ff 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 51a0c2d4d77..7c879cb0327 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index b40822e2d0c..8f7d15b814f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 188b3f22ed2..9a201b036bc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index b2af22af0a8..aa6660724a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 90b682585fc..199267ef294 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Count/CountRequestBuilder.cs index 87c6b0f9d18..d9e90df5815 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs index fae5bc28853..bbfcb283546 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.cs index 0a1b44b59e1..b3674d9af70 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs index df6c54a6c09..a1c26fca636 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs index efff2b33f5a..1ddf49d2449 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 2fde6964aa7..beeeefce18c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs index f78a40de2b4..9dcdf57d1b9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 0570f45ee4c..ee0cc67fd4e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index b76dd4302e0..c72c2a98bd7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 10af261ee49..76fb70fb92f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs index f7a949cb386..15098b4e8cb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs index d50d715bf4f..635e73dae1d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs index 233f5231efd..b1349316fb6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs index e58123041d2..2b3dab8376c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs index c047eec1c6a..5a91bd82e18 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index c78d6d1455e..9d17fbf7903 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.cs index 69fb6d45a27..0f4649b4ad2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// The events in the calendar. Navigation property. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an event object. @@ -141,7 +141,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property events for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs index 8b1753b1be4..0387a1f2c6f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 500ee3fe7d4..e6dbbed6ab9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 154b509bc02..52f201ac036 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs index 020a1981976..63ebdbeec4c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs index 7358cb87f71..6d5e3e34f19 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs index 1dce5e21edf..1b7b0f74053 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 715e4689b35..19daab30985 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs index b40fe996860..d78c3311f16 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 1672efcf3b0..e2615b2c200 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 92d390ac4ba..616d11b5b86 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 4822e7aa886..212b6e45c11 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 8624ad16f12..4eca4a5febf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index aa0546ee9c8..a58575d168a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index dc580c4c2c1..2df58823ae6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 791ca3ea1f1..741134167f7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index ffe861a363d..84c12a6434d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 0390a7c0d9a..c6d1c954d14 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 0178c9b0e85..281f2c0e8a3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 0f2ca1d26c5..11e56f5deec 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index b00a97fee03..3c9ca0f5156 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 7f1e64d5c72..a1ce7a0031f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs index ff351fc5a55..cb62cd78179 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 3eaddae5873..d4df4eba3a3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 364e461f6d2..3e92a5d3928 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index c8eaaa78f7f..83555f2835d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 54f0e43ce4d..a4b57c1ae41 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 60005dec6c4..96254e2dbba 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 678a0e383ed..87832f674c8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 2e51e1f7dd4..2e1f132d44b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 389cf594629..e73b8fc9802 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 2d167d07a2b..6beb85bddc7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index a05fa4e624a..485c9d34101 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 3cae631c14a..98d8679066e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 98120eceeec..067c0d4c3e7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 0ce846c9d93..79912f565db 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs index b11f11fd212..ac4614834aa 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetSchedulePostRequestBody.cs @@ -15,8 +15,8 @@ public IDictionary AdditionalData { } /// The AvailabilityViewInterval property public int? AvailabilityViewInterval { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } + get { return BackingStore?.Get("availabilityViewInterval"); } + set { BackingStore?.Set("availabilityViewInterval", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } @@ -24,42 +24,42 @@ public int? AvailabilityViewInterval { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #nullable restore #else public DateTimeTimeZone EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #endif /// The Schedules property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Schedules { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get?>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #nullable restore #else public List Schedules { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #endif /// The StartTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #nullable restore #else public DateTimeTimeZone StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #endif /// @@ -82,10 +82,10 @@ public static GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"availabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + {"endTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"startTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -94,10 +94,10 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); + writer.WriteIntValue("availabilityViewInterval", AvailabilityViewInterval); + writer.WriteObjectValue("endTime", EndTime); + writer.WriteCollectionOfPrimitiveValues("schedules", Schedules); + writer.WriteObjectValue("startTime", StartTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs index 734f3b3e17c..6c9d41cc8c0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendar/GetSchedule/GetScheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSchedulePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.cs index 1d004f1739f..0f3b0a87052 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/CalendarGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new CalendarGroup. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarGroup body, Action(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the user's calendar groups. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Count/CountRequestBuilder.cs index ad035e439d8..e32e945ae0a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs index 863c5240f29..a429bbc0e2f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/CalendarGroupItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a calendar group object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of calendargroup object. @@ -93,7 +93,7 @@ public async Task PatchAsync(CalendarGroup body, Action(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a calendar group other than the default calendar group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs index a35e3476691..60ca6144641 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/CalendarsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new calendar in a calendar group for a user. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of calendars belonging to a calendar group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs index a2816a02281..8427548e004 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index 057e50ff4df..72e6de41e34 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function allowedCalendarSharingRoles diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs index 0e8030aff29..f3399e89007 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarItemRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task DeleteAsync(Action /// The calendars in the calendar group. Navigation property. Read-only. Nullable. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property calendars in users @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property calendars for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index 0c3c257c8ce..e5c69c01146 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarPermission body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs index 8567197dd06..164684f74e5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index 736bd0c95c9..f019c221e4b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified permissions object of a user or group calendar that has been shared. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the permissions assigned to an existing sharee or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. @@ -88,7 +88,7 @@ public async Task PatchAsync(CalendarPermission body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete calendarPermission. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs index ce4d68723ec..706678e5254 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the occurrences, exceptions and single instances of events in a calendar view defined by a time range,from a user's default calendar (../me/calendarView) or some other calendar of the user's. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs index 07fee4d07d2..ce2027531fb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs index 01bccb53c43..2260c92e4d2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 565a43f37db..70d6e7c85b8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs index 6cb5b64fa16..11bb6c28fc4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 7a77311f1af..84cd82d59f2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 6f389081928..939fd857201 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 50a7436d9c9..e555538166f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index fd5346b26d4..eac93c4f0be 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 60dbeda7dee..4244ee3bf67 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 6c8aa529162..782acfc7b26 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs index f9754a0fc0d..44546e84aa4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 0388e868d54..13d3ae0fc3a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs index 6dee82fed4c..e7fc59c6817 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 3806fb27cf4..9d70558afe8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index 7b3a5fad534..412cac31cae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs index bf2c7b87417..0976a7cc3f8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index ded219d5e45..da646c899c8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 1b7477687b8..6bc6e002579 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 8a7ef4d8063..dfa8d03771d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs index cf7fec5baaa..2bbae3915a6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs index 720bcbca039..cf76d655a77 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 9aad2b75c8a..8c45e076642 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index f78d89470d2..ef000392a48 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 363db598dff..9c04209a5fd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 15aecb435e8..30b471ba8dc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 44591177af5..678c25441f6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index da53657b7ac..70b411c641e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index d092ec89aad..c2500510a03 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 109d9d4400a..1408da23696 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 5825c318c7e..ee27d582088 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 2255f17946a..f62603dc15e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 459e116bb35..ed8d2104c87 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 37698c8bac1..57b7012e3f7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 780a1bfae9d..b60f6e6d873 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 23da6b839ab..f8cf831e550 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index a1b69c44e13..a140269c395 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 3f5490b5304..0dd502af9a8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 52e3572fab0..f4e787d2a60 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index fa23b5e1c16..9a43c834677 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 706da844f66..dcae8435e2e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index a3cc900e904..7215f76d469 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index b08537b8e98..dec4dd9bf50 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 9d6c5497f35..b5b54746d38 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 8c72dcc675d..42d27687d6d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 8efcf6874a6..41db1dd2030 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 19f123a6c22..74ee0059b56 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 3a7224a027d..062fccd2e17 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 5897aac20c7..31cc8d1642c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index c9caca39683..ec0fe57e2a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 2f873b03447..307a46f481d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index c678f4be621..5cb19725ec2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs index 640c6aba302..a5e94df5879 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs index 9d0a2f5c2c0..5ce7fe1c503 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs index 9bc8eef3fa0..abce6f66bd0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 918b2b5830c..33406fbee97 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs index 976fcafc876..901c4dcd5fe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 4ad471ad5a1..d8fd301a494 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs index 33a6ed5fa9c..2ee978552ae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 33638d4ba91..2996fca7308 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index c8da45d310a..9ad3042225a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 3ebfe651162..d65f15e041d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs index 7523b1097cc..4171f84c87e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs index ce1587546d4..3bc367394b0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs index c6ff205c085..b6910942913 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 22621488c40..ad28ba116e3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs index 69285ab1d6f..1f6eb1f79c2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 9973c9dd124..c56b4a4ddb3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs index 011843efbf1..12cef7e845a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// The events in the calendar. Navigation property. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an event object. @@ -141,7 +141,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property events for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs index ddafad87b34..10ff9d1f9ef 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 44f57f4a950..1d2b5633d99 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index d8d173b8504..7b77245a702 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs index 791d25dbb21..00a84ee4037 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs index a0ab40ae9ad..8f0c974934f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs index f300bc222a2..5b82e242400 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index a3ce2031657..05892b6dbda 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs index 01644a66c0a..e3cbfc98283 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index f3f03e700fc..73f96a8037f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 2db44b8fad2..d616d670b04 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index c4ea49259da..9b417a500de 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 1d5a1d97b12..86b3bfcce4f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index f51caffe895..388485524fc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index df22a7e417a..36879403ecd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 4fcda772fe1..96f113dcc85 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index ab80b5dc41b..ca996796cc9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 8798cb63208..17b06293c38 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 0eb91abb7db..dc94ea26fbe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 6e4f07bcb45..e2ef9685056 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 502c05be4b6..6480e038cf4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 3ae6bc742a5..8f08efa6f3a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs index 16e691cf9e5..2492f7d24a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index badb793f206..a420e1cc6a8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 665241c3a77..ceb745933fb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 25f95ada96a..653094acada 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 873d1f19395..007a0541def 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 48afae6c633..22e765bde08 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 7fb19418041..a325b295b63 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 8d9255cd3c8..267924e1ebb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 35fc3c42bac..f1ce6f48f6f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index e83eafc2794..0c7b26b5550 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 582e22e847e..704de790487 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 90c5b34cdb3..751cd149410 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 14138d106aa..0fc6941c49c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index a96ed69257e..ba0b024e61b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs index 5ab2cb94e83..50b76bb47a0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs @@ -15,8 +15,8 @@ public IDictionary AdditionalData { } /// The AvailabilityViewInterval property public int? AvailabilityViewInterval { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } + get { return BackingStore?.Get("availabilityViewInterval"); } + set { BackingStore?.Set("availabilityViewInterval", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } @@ -24,42 +24,42 @@ public int? AvailabilityViewInterval { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #nullable restore #else public DateTimeTimeZone EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #endif /// The Schedules property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Schedules { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get?>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #nullable restore #else public List Schedules { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #endif /// The StartTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #nullable restore #else public DateTimeTimeZone StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #endif /// @@ -82,10 +82,10 @@ public static GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"availabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + {"endTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"startTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -94,10 +94,10 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); + writer.WriteIntValue("availabilityViewInterval", AvailabilityViewInterval); + writer.WriteObjectValue("endTime", EndTime); + writer.WriteCollectionOfPrimitiveValues("schedules", Schedules); + writer.WriteObjectValue("startTime", StartTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs index 677bcf41724..dc20b816c04 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarGroups/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSchedulePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.cs index 3e85f5b4293..289448de793 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Read-only. Nullable. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Expand related entities @@ -160,9 +162,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Count/CountRequestBuilder.cs index d08dc624b8b..f8d2aab6613 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.cs index 546319bb302..5f6c32f9227 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 6e49003acc8..af548b5b45e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs index ddf5e03f9e8..0d73785743a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index aea19b67851..6466dd7194e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 1b6ce9a985f..cdd744b88b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 28f597a6725..df7c2289fb9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 0f7571fd937..885992072f8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 524b29ec654..e7d5116fab1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index be45fb60ae2..e990d6ae881 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs index 65974298fa9..d2614565206 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 0bbbbc522ec..ae8bb2a162a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs index b0b2ccbdd0c..8eebeccf42e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs index 6e6268b3c55..93cf01ab3e5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index 279b76b9e29..213f36607f6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.cs index 193b9988b04..b3656f6595b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Read-only. Nullable. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Expand related entities @@ -170,9 +172,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index cc8459d8361..e3f50b639a5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 4e1537e0e6f..2e282aa1a11 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index f3eabf76395..f13ebc355c1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs index 0b230be7186..c5a66f09bed 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs index a96908a7967..b935598194a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 30979be7cf8..ff9cb879d12 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index 6f08097ab99..af1cc84ef86 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs index b3a200e776a..954cc1b9a84 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index b694d3634d6..93226d188f5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 15eae4a463d..f0d13fe0a3e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 9445ac5ba58..a0b4e3bd86e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 9bb8e3ee09d..741fbd642d6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index a58be7284e0..1fdbf81ff04 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 4ed28528595..6ffd988daa6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index af9ffc06940..6135c420355 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index b428192d41c..65afda0f9b3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index dd12125ad66..7b7458d5d60 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 3121421225f..bf4bea2515f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 082361f11ef..200c1a021a1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index de237ee2b51..1bd3c7765e0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 0bd22a0ade7..8e31947fa45 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index 148a1f479d8..6bf57d0b9ec 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 4cda0c68b49..9dd4c8dfc79 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 89c999b8390..a8cdf36e90e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 0d3b935781c..ff4e13e36d5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 8b9b10a0671..be5f27b134b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 24f9b02836f..338dfa62fe6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 3baa0eb7ea6..be1b5332bfe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 9d9ab458e82..2f26013a579 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 31bce298690..555bbf4df2b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 7723abcac90..43a82ff3d67 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 6b6bd85f18a..04f260861e4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 78bf91acb6c..14efee5c5bc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 8ce974d82f2..5fe72086b3c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 9e17608156e..9bc44f098e0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs index 7f7a5e2663d..14793ebaf8f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/CalendarsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new calendar for a user. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the user's calendars (/calendars navigation property), get the calendars from the default calendar group or from a specific calendar group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Count/CountRequestBuilder.cs index 3f9beace4ac..fb5433a753a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs index 1e96ce872ec..15da5196707 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/AllowedCalendarSharingRolesWithUser/AllowedCalendarSharingRolesWithUserRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AllowedCalendarSharingRolesWithUserResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function allowedCalendarSharingRoles diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.cs index c5407345625..c54111cbe61 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarItemRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task DeleteAsync(Action /// The user's calendars. Read-only. Nullable. @@ -93,7 +93,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property calendars in users @@ -114,7 +114,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property calendars for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs index 3976ae80f4a..e1d3bcdf250 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/CalendarPermissionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermissionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a calendarPermission resource to specify the identity and role of the user with whom the specified calendar is being shared or delegated. @@ -81,7 +81,7 @@ public async Task PostAsync(CalendarPermission body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of calendarPermission resources that describe the identity and roles of users with whom the specified calendar has been shared or delegated. Here, the calendar can be a user calendar or group calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs index 8b6ac6bddbb..db672be2451 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs index aa53ec6eeb7..79516524da5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarPermissions/Item/CalendarPermissionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the specified permissions object of a user or group calendar that has been shared. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the permissions assigned to an existing sharee or delegate, through the corresponding <b>calendarPermission</b> object for a calendar. @@ -88,7 +88,7 @@ public async Task PatchAsync(CalendarPermission body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CalendarPermission.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete calendarPermission. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs index 0477e5a200e..0f15081fb87 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/CalendarViewRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -109,9 +109,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class CalendarViewRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs index 8fb30876f10..1d940f08e9a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs index dc17c02bd7e..9780032192d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs index 2af171592a3..6616e4db11b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs index 558e2600ba3..d23b5022e2a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs index 4d05f32a00b..6419af91faf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs index 5244f2c543f..f2e51505dea 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index ac4adbeeaa3..0c966130713 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index e763481bb33..37f2ace547f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index b17702cda86..0df5c3377cd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs index 62cdaa43daa..783ead96d1f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs index 78a5602918c..98423515e2c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs index 47bf7b0ad03..7f11912c226 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs index 14d08179d29..6e99aa2590d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs index a1a801f8aa0..6b5a51a2388 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs index d326b794f55..06557e563d2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs index ea859ec308c..5c26f7d0e18 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar view for the calendar. Navigation property. Read-only. @@ -142,9 +142,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -160,9 +162,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs index 71ef7514c44..2c6643a6eae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs index 18400ab0f02..e6b5ae50852 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 575ef76b47b..f1c670b4748 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs index a71bbba5cc6..9f8ae266103 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs index 63417606ce6..0383dde3f77 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs index 09223f9cf0d..d57041f1f78 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs index e312ebbec3a..f62f2a12b10 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs index 941d2894096..16ccefb6d25 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 36ac41d52ce..ff71123578c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index a3757dee0bd..47b85a08db9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index ea79033f1af..d32ccf86b68 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 6ac2f6cd6e1..49ff40b15a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 8cc4dc26a97..abf7c627f1a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 60e454f1aa5..a3e76d79c05 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 43e1d4f6a9e..2c27451bbd9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index 53639017acb..4ba7d81a563 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index ccd3808fe98..62a442fcaf9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 1a5fe68ef64..e3e3acd537b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 53651527a00..db54ef9a2f1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 6384f68a906..26ecd1dad46 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index a5fa01ddd01..21e7ba1aa8c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs index a7061195461..835b5a1cd80 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index ba4dca181f3..304625d4f04 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index ac7dcfc97d8..98f882490b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 45d642955c2..054522cc63a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 1b14ce5237c..3553e4dd331 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 0913c44ea94..46f72c03283 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 8804bf3bee7..cd4ec1d736d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 62bb26c50b1..0bf1555e697 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index c5c89fef618..0474e0cbb21 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 06569f66423..17d8e9368d6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index e1737e24044..7e924011e89 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 3649e03cd28..92b0a833770 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 1295152cb44..1e83dc54581 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index d816eca7bf6..deb73709705 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/CalendarView/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs index 210605c8003..48738995443 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs index f9c78beb729..52d57b19059 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.cs index 88424a06dee..101ee9fde2f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/EventsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new event in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of events in a calendar. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. The list of events contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 12f046cf83e..0f42622a1ea 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs index 18c9b1d4b37..0a522362dbb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index 138344131b5..b494a166c09 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs index 0f1da76301b..367bf027f56 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index ea30d0b91d8..42c9a3376e9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 390a9f155a2..e3032e76f1e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index e68bc99c1d0..d6b430dff34 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs index 0289db582d6..0f28f1c1327 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs index 010bf38716f..c8dfc5e5d6d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs index a57b61a575e..8b49f08dfd8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs index 82d084fc9df..c39bf07610a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs index f67f698158b..e8408792368 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 488f2bead90..ccf7f372ef5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs index 8a4f16820ec..3f56bdae6ff 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/EventItemRequestBuilder.cs @@ -100,7 +100,7 @@ public async Task DeleteAsync(Action /// The events in the calendar. Navigation property. Read-only. @@ -119,7 +119,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update an event object. @@ -141,7 +141,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property events for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs index e60b80591b5..0793ce828bc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs index a484a68b455..f94627032a2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 15ea67de8fb..844640cb805 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs index 3b80b090cc4..c6a75de8d43 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs index 1fbd1c793d3..fa3b21622ce 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs index 5689b61a4d6..c31fb48e8b1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 12531a0b09b..3617bed3dc2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs index 990cce6e343..4c6253992b8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 5a0ce9f7064..23d39cc5092 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index e96a8544e36..568875a34e5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index 909b7cf965f..a9bd0df2b85 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index f85216273af..49efe914ac9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 6ff69b08a61..4f8a8541428 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 82d47a92912..cd333b1ed9c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 13e9def7995..e3c9321b578 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index c75d57551ee..b4c5910835e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index cdbc664b542..5062d3fa67e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index e91635ba126..edaddc426f0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 4e3c655c42f..0491bad8e42 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 1d136c00bfb..5f93d3cd035 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 773b9d623bf..b798a0b1288 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs index c646978d680..6179760dda1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 34e1a2d9a8c..e16e1d09ef7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 228f01a525d..b3158c5bc55 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 4e35beb4613..b60d9dd7b61 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index e68d12cc239..25dae4aae38 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 4013cda6ea1..be34920b0f1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 8f161ac6e94..9826ebcae60 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 902e1799e35..09e0a7df417 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 5bd0d651c49..9ec07bdab19 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index dd832302751..e505a7c0afc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index c667767e479..d3eda77cf4a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 20aef4e5370..3bd1b38418d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 91862bf5725..83ae55cb1f8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index caa9abd87fc..1ce6e9451a0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs index 9a02a2ceb64..b405b64947e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetSchedulePostRequestBody.cs @@ -15,8 +15,8 @@ public IDictionary AdditionalData { } /// The AvailabilityViewInterval property public int? AvailabilityViewInterval { - get { return BackingStore?.Get("AvailabilityViewInterval"); } - set { BackingStore?.Set("AvailabilityViewInterval", value); } + get { return BackingStore?.Get("availabilityViewInterval"); } + set { BackingStore?.Set("availabilityViewInterval", value); } } /// Stores model information. public IBackingStore BackingStore { get; private set; } @@ -24,42 +24,42 @@ public int? AvailabilityViewInterval { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #nullable restore #else public DateTimeTimeZone EndTime { - get { return BackingStore?.Get("EndTime"); } - set { BackingStore?.Set("EndTime", value); } + get { return BackingStore?.Get("endTime"); } + set { BackingStore?.Set("endTime", value); } } #endif /// The Schedules property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? Schedules { - get { return BackingStore?.Get?>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get?>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #nullable restore #else public List Schedules { - get { return BackingStore?.Get>("Schedules"); } - set { BackingStore?.Set("Schedules", value); } + get { return BackingStore?.Get>("schedules"); } + set { BackingStore?.Set("schedules", value); } } #endif /// The StartTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #nullable restore #else public DateTimeTimeZone StartTime { - get { return BackingStore?.Get("StartTime"); } - set { BackingStore?.Set("StartTime", value); } + get { return BackingStore?.Get("startTime"); } + set { BackingStore?.Set("startTime", value); } } #endif /// @@ -82,10 +82,10 @@ public static GetSchedulePostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AvailabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, - {"EndTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, - {"Schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"StartTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"availabilityViewInterval", n => { AvailabilityViewInterval = n.GetIntValue(); } }, + {"endTime", n => { EndTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"schedules", n => { Schedules = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"startTime", n => { StartTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -94,10 +94,10 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteIntValue("AvailabilityViewInterval", AvailabilityViewInterval); - writer.WriteObjectValue("EndTime", EndTime); - writer.WriteCollectionOfPrimitiveValues("Schedules", Schedules); - writer.WriteObjectValue("StartTime", StartTime); + writer.WriteIntValue("availabilityViewInterval", AvailabilityViewInterval); + writer.WriteObjectValue("endTime", EndTime); + writer.WriteCollectionOfPrimitiveValues("schedules", Schedules); + writer.WriteObjectValue("startTime", StartTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs index 3c9a9eacd5f..05c6b37a2b0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Calendars/Item/GetSchedule/GetScheduleRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetSchedulePostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetScheduleResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the free/busy availability information for a collection of users, distributions lists, or resources (rooms or equipment) for a specified time period. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.cs index cdbb3081b40..8039837d12b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ChangePassword/ChangePasswordRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ChangePasswordPostRequestBody body, Action /// Enable the user to update their password. Any user can update their password without belonging to any administrator role. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/ChatsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/ChatsRequestBuilder.cs index a01834376a0..d23b18dddd5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/ChatsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/ChatsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to chats for users @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chats that the user is part of. This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Count/CountRequestBuilder.cs index 2ab7361c37f..b9f733b9176 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs index a393fae82bd..3e425e3ffde 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs index 59d3b0524aa..60aa1e6476f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/ChatItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// Retrieve a single chat (without its messages). This method supports federation. To access a chat, at least one chat member must belong to the tenant the request initiated from. @@ -125,7 +125,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property chats in users @@ -146,7 +146,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property chats for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.cs index 9ac11f7abd8..3e9f94530b9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/HideForUser/HideForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(HideForUserPostRequestBody body, Action /// Hide a chat for a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs index 94174e7ecba..233750a4991 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs index d76c248e010..5646a8ec5cf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install a teamsApp to the specified chat. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsAppInstallation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all app installations within a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index c5359488697..9482558a113 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index e3df628593a..963cc8524ab 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index 91c69b7024e..79be723faaf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Get an app installed in a chat. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in users @@ -102,7 +102,7 @@ public async Task PatchAsync(TeamsAppInstallation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstall an app installed within a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index fff6c8eb849..832760e3429 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpgradePostRequestBody body, Action /// Upgrade an app installation within a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs index 25fbf57be95..f006fc17303 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/LastMessagePreview/LastMessagePreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property lastMessagePreview in users @@ -85,7 +85,7 @@ public async Task PatchAsync(ChatMessageInfo body, Action(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property lastMessagePreview for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs index d1d0ec33db6..5ecd9338ccf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatReadForUser/MarkChatReadForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkChatReadForUserPostRequestBody body, Action /// Mark a chat as read for a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs index a76e5fc55d8..04f8d37e5cb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/MarkChatUnreadForUser/MarkChatUnreadForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(MarkChatUnreadForUserPostRequestBody body, Action /// Mark a chat as unread for a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.cs index 0568feb63a1..c00b1f54551 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Count/CountRequestBuilder.cs index b03bf54c73b..fdb7c12d08f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index c3b4d7fd8ce..33355c2bc99 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -46,11 +46,11 @@ public async Task DeleteAsync(Action - /// Retrieve a conversationMember from a chat. - /// Find more info here + /// Retrieve a conversationMember from a chat or channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in users @@ -87,7 +87,7 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a conversationMember from a chat. @@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action - /// Retrieve a conversationMember from a chat. + /// Retrieve a conversationMember from a chat or channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -191,7 +191,7 @@ public ConversationMemberItemRequestBuilderDeleteRequestConfiguration() { } } /// - /// Retrieve a conversationMember from a chat. + /// Retrieve a conversationMember from a chat or channel. /// public class ConversationMemberItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs index 587c001911e..f7cf1bda3c4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a chat. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all conversation members in a chat or channel. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Count/CountRequestBuilder.cs index 7b835ad8e6d..4c144e46f2f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs index d122bc9714f..8f5f9fed4c3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index 0613c3bdc4e..79f4a058426 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in users @@ -116,7 +116,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index bed4224edbe..5e6e4faa055 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index f4ee9cd8f72..03d8b2877c2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for users @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index a22ad5d2e59..5764c8af692 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in users @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 9cc5e2c59bf..643b6cdf6d2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index e93c6b8b624..5d23ac030e3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 5c7c2b7103e..6edde1497ed 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 2feba5cef6c..ee1e789186c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in users @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index 3d1c124a0d4..67c6ae1f908 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index d32e2ea4814..ee5f8425217 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for users @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 8db054a12d4..83c11bfa9ec 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in users @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 8b93344c391..5acd6d95d04 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 054a3bf8008..612453bd7a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index b2539212f7c..5ff3f2b679d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 2d43104193f..ea4bcf31e8f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 522f98b72dd..e3653d6e61a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 8ef38eb4743..44974124105 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index fb02511c6cb..da9a1b727bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index edb0d20dd53..f2b924507b0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index bba4ad67973..3d62ab1106b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index c16b34a53a9..91599e898e4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs index 9a6d345b955..a8c2c3f9080 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages in a chat. This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified chat. This API can't create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can create a chat message. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs index ee6b1558319..f30167a5db6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs index f67a697ea70..01606edd6a1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index 3f1b8479cf2..6d9970bf65e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index b3d00d95719..0e3cd1d8802 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index da49a12c4f0..efceb7be6b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 9b4841b2b8c..c490f9d01d3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 22d670faebb..2dea16c50bb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 6f1c39f94dc..c96f37c3fa5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 50b6668e6a3..a84372d6ad8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A collection of permissions granted to apps for the chat. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in users @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index bd84ec8f98f..c5ffd8bda91 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 383f0505c2c..401ee5205a7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for users @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the chat. This list specifies the Azure AD apps that have access to the chat, along with the corresponding kind of resource-specific access that each app has. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index ebc45d1dd73..9b57611e8e2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs index 300989ece98..0db2a720ba5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs index 2c6a18fd347..2083bda1e98 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/Message/MessageRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Represents details about the chat message that is pinned. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs index d313fd873aa..3d4c4656f2f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/Item/PinnedChatMessageInfoItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// A collection of all the pinned messages in the chat. Nullable. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pinnedMessages in users @@ -91,7 +91,7 @@ public async Task PatchAsync(PinnedChatMessageInfo body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unpin a message from a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs index 2b6405ceede..e7bbcf3ae78 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/PinnedMessages/PinnedMessagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PinnedChatMessageInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Pin a chat message in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before you can pin a chat message. @@ -81,7 +81,7 @@ public async Task PostAsync(PinnedChatMessageInfo body, A {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PinnedChatMessageInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of pinnedChatMessages in a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 5e438e758d7..f6e47c90362 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification in scope of a chat. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Count/CountRequestBuilder.cs index 3dee209de54..1e9a7b5de0d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 23c3bffef37..3f5777f494d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index 835aaaae8f7..e03d55d764f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a chat. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab in a chat. This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove (unpin) a tab from the specified chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.cs index d5658f06a4f..ec73dc570c5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add (pin) a tab to the specified chat. The corresponding app must already be installed in the chat. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs index da715c52b28..15968302087 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Chats/Item/UnhideForUser/UnhideForUserRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UnhideForUserPostRequestBody body, Action /// Unhide a chat for a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index c0c39ec9415..4828986747f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 18bab1b2f10..1e35e3d8b82 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.cs index bbcbeffea68..b70c3b1aa69 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/ContactFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new contactFolder under the user's default contacts folder. You can also create a new contactfolder as a child of any specified contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the contact folder collection in the default Contacts folder of the signed-in user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Count/CountRequestBuilder.cs index 4c721958dd6..68f38c934ac 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.cs index d7253198f8a..1ccde3390d3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 8417416f4e7..d0dff5ad57b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new contactFolder as a child of a specified folder. You can also create a new contactFolder under the user's default contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a collection of child folders under the specified contact folder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs index 1b7042cb099..9b889a52f7b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs index 42dd8694ffa..75ecb7c3c92 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contact folders that have been added, deleted, or removed from the user's mailbox. A delta function call for contact folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contact folders. This allows you to maintain and synchronize a local store of a user's contact folders without having to fetch all the contact folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs index 035e0495860..68b515e65ef 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/ContactFolderItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The collection of child folders in the folder. Navigation property. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property childFolders in users @@ -90,7 +90,7 @@ public async Task PatchAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property childFolders for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs index 801ecb83993..0abde2ae3fd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/ContactsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs index 88f0c3555c0..f4bb4665232 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs index aed0c7c3b95..aeba5b21e96 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs index 30eec8ff173..66696ce894d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// The contacts in the folder. Navigation property. Read-only. Nullable. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contacts in users @@ -95,7 +95,7 @@ public async Task PatchAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contacts for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs index 96989eff3c0..d4a4fd2fea8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs index 4b577597137..183b6fce4c6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for users @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the contact. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 11869d789ca..ef843531e0c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the contact. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs index c7910f68dd1..40fc611cdd6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in users @@ -71,7 +71,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional contact picture. You can get or set a photo for a contact. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs index 83aef3e23cc..5b016ebf1be 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ChildFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in users @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.cs index 1f4d5a8dad4..b3c759a8232 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/ContactFolderItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a contact folder by using the contact folder ID. There are two scenarios where an app can get another user's contact folder: @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of contactfolder object. @@ -98,7 +98,7 @@ public async Task PatchAsync(ContactFolder body, Action(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete contactFolder other than the default contactFolder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs index 335a1b3a18d..9b252934582 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/ContactsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a contact collection from the default Contacts folder of the signed-in user (.../me/contacts), or from the specified contact folder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs index 9c7300628a0..b0379221c27 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs index 0f35b9b0812..76412e3f3ee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs index f26083a6ccd..4c75a720711 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/ContactItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// The contacts in the folder. Navigation property. Read-only. Nullable. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property contacts in users @@ -95,7 +95,7 @@ public async Task PatchAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property contacts for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs index aed1f506a2f..ad8b0e53124 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs index 9c3515ea390..f40c56fd676 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for users @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the contact. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 63073d1050f..e25091ddf86 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the contact. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs index f0e4fe8f863..fadfd41f16e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in users @@ -71,7 +71,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional contact picture. You can get or set a photo for a contact. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs index e7bf52b2e0e..c791f30715a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ContactFolders/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in users @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/ContactsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/ContactsRequestBuilder.cs index 6acf6db606a..d43c882cda0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/ContactsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/ContactsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a contact to the root Contacts folder or to the contacts endpoint of another contact folder. @@ -86,7 +86,7 @@ public async Task PostAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a contact collection from the default contacts folder of the signed-in user. There are two scenarios where an app can get contacts in another user's contact folder: diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Count/CountRequestBuilder.cs index 176ebfe8f11..cd45e9aae83 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.cs index a0da2099abf..71c435105a0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of contacts that have been added, deleted, or updated in a specified folder. A delta function call for contacts in a folder is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the contacts in that folder. This allows you to maintain and synchronize a local store of a user's contacts without having to fetch the entire set of contacts from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.cs index 18c0c8da6c8..0ec7d8d4330 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/ContactItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a contact object. There are two scenarios where an app can get a contact in another user's contact folder: @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a contact object. @@ -98,7 +98,7 @@ public async Task PatchAsync(Contact body, Action(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Contact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a contact. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs index d2cdbfe8dcb..c2c11e2dbf0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs index c219413b290..3ae0099e861 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for users @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the contact. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 82027d8f8e6..2988a98874f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the contact. Read-only. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs index 829a126c665..e567df5c908 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in users @@ -71,7 +71,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Optional contact picture. You can get or set a photo for a contact. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs index 47eb3603110..a15431ffe9b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Contacts/Item/Photo/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in users @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Count/CountRequestBuilder.cs index 7de4c2b862b..02a314a14b1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs index 3e5e5816cc3..833538a5696 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/CreatedObjectsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of directory objects that were created by the user. This API returns only those directory objects that were created by a user who isn't in any administrator role; otherwise, it returns an empty object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs index 05735be8639..9fba45df48f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index dd5440446f9..b44373f648e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs index 517a867817a..9dff889ebfc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -34,7 +34,7 @@ public DirectoryObjectItemRequestBuilder(Dictionary pathParamete public DirectoryObjectItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/createdObjects/{directoryObject%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Directory objects that were created by the user. Read-only. Nullable. + /// Directory objects that the user created. Read-only. Nullable. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -50,10 +50,10 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Directory objects that were created by the user. Read-only. Nullable. + /// Directory objects that the user created. Read-only. Nullable. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -86,7 +86,7 @@ public DirectoryObjectItemRequestBuilder WithUrl(string rawUrl) { return new DirectoryObjectItemRequestBuilder(rawUrl, RequestAdapter); } /// - /// Directory objects that were created by the user. Read-only. Nullable. + /// Directory objects that the user created. Read-only. Nullable. /// public class DirectoryObjectItemRequestBuilderGetQueryParameters { /// Expand related entities diff --git a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index f553b1e5231..a1aedcbc46c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/CreatedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs index 01ef1099c39..eafddcc4dee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs index 8223b74915f..e080056d8ac 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/DeviceManagementTroubleshootingEventsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceManagementTroubleshootingEvents for users @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceManageme {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The list of troubleshooting events for this user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs index 7ec49c5c567..9d31fcb3866 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DeviceManagementTroubleshootingEvents/Item/DeviceManagementTroubleshootingEventItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The list of troubleshooting events for this user. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceManagementTroubleshootingEvents in users @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceManagem {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceManagementTroubleshootingEvent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceManagementTroubleshootingEvents for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Count/CountRequestBuilder.cs index 2574ecd874f..0e894580e41 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs index e0d5c89b9c7..807aa946181 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/DirectReportsRequestBuilder.cs @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs index 9e8ddfa9fa6..fdc197f7d1d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs index 2643a99d96d..2e8fcc75715 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContactCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.orgContact in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs index 3ddcc0015e8..d8f8c2f35c3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs index 26b0e30fa67..39589a411b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/GraphUser/GraphUserRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.user in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs index fad71dec983..22ba80edb20 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/DirectoryObjectItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs index a850c45627f..72b0eeb6eb8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphOrgContact/GraphOrgContactRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OrgContact.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.orgContact diff --git a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs index 302cadd8bc5..8039e465e44 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/DirectReports/Item/GraphUser/GraphUserRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphUserRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.user diff --git a/src/Microsoft.Graph/Generated/Users/Item/Drive/DriveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Drive/DriveRequestBuilder.cs index 31e760e7f55..371e2588dcd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Drive/DriveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Drive/DriveRequestBuilder.cs @@ -46,7 +46,7 @@ public DriveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a Drive resource. A Drive is the top-level container for a file system, such as OneDrive or SharePoint document libraries. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Drives/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Drives/Count/CountRequestBuilder.cs index b7eff9c9679..af7cb595002 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Drives/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Drives/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Drives/DrivesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Drives/DrivesRequestBuilder.cs index 33e45c1894c..2c255bafc3b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Drives/DrivesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Drives/DrivesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DriveCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of Drive resources available for a target User, Group, or Site. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.cs index 173eb9b8bb3..c8de89f48b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Drives/Item/DriveItemRequestBuilder.cs @@ -45,7 +45,7 @@ public DriveItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Drive.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of drives available for this user. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs index f9031b0ca75..7e6f9ee5a6c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/EmployeeExperienceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get employeeExperience from users @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property employeeExperience in users @@ -90,7 +90,7 @@ public async Task PatchAsync(EmployeeExperienceUser body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EmployeeExperienceUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property employeeExperience for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs index dcdcee0cd24..535b8d4c803 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs index e4a8f917021..38cac0dffa9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/Item/LearningCourseActivityItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the specified learningCourseActivity object using either an ID or an externalCourseActivityId of the learning provider, or a courseActivityId of a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs index d534afb134d..9ad25964afd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/EmployeeExperience/LearningCourseActivities/LearningCourseActivitiesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LearningCourseActivityCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the learningCourseActivity objects (assigned or self-initiated) for a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Count/CountRequestBuilder.cs index 86d16a23a39..af4fa9b1b16 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.cs index f7badeb128c..aee11d324ff 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs index e28e0380a4c..da2f95847b1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/EventsRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. - /// Find more info here + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of event objects in the user's mailbox. The list contains single instance meetings and series masters. To get expanded event instances, you can get the calendar view, or get the instances of an event. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get events in another user's calendar: @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Create one or more multi-value extended properties in a new or existing instance of a resource. The following user resources are supported: As well as the following group resources: See Extended properties overview for more information about when to useopen extensions or extended properties, and how to specify extended properties. + /// Create an event in the user's default calendar or specified calendar. By default, the allowNewTimeProposals property is set to true when an event is created, which means invitees can propose a different date/time for the event. See Propose new meeting times for more information on how to propose a time, and how to receive and accept a new time proposal. You can specify the time zone for each of the start and end times of the event as part of their values, because the start and end properties are of dateTimeTimeZone type. First find the supported time zones to make sure you set only time zones that have been configured for the user's mailbox server. When an event is sent, the server sends invitations to all the attendees. Setting the location in an event An Exchange administrator can set up a mailbox and an email address for a resource such as a meeting room, or equipment like a projector. Users can then invite the resource as an attendee to a meeting. On behalf of the resource, the server accepts or rejects the meeting request based on the free/busy schedule of the resource. If the server accepts a meeting for the resource, it creates an event for the meeting in the resource's calendar. If the meeting is rescheduled, the server automatically updates the event in the resource's calendar. Another advantage of setting up a mailbox for a resource is to control scheduling of the resource, for example, only executivesor their delegates can book a private meeting room. If you're organizing an event that involves a meeting location: Additionally, if the meeting location has been set up as a resource, or if the event involves some equipment that has been set up as a resource: /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs index 0fb148c3ee2..493d4898d44 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.cs index 25ccf1e9b40..dcc0b8b9c04 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs index a575bf1f0df..b99b544a268 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs index ac04737c217..4d6541b9257 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 235f23533d2..31c5e300c0e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index b2778f7151b..de223a46c9e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index a0ac5cfadeb..398484b61fc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.cs index 21df1264b7b..3b77b1eba06 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelPostRequestBody.cs index b248698bdfd..6cf620a35ae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.cs index b65d2266a74..e5d73bccd51 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs index f4e1f8f68de..0f554cfea86 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.cs index 017435a1d97..a194fd8808e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs index 25691f70703..5f3a45b30f9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/EventItemRequestBuilder.cs index 7598ffef463..804fde36928 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/EventItemRequestBuilder.cs @@ -101,7 +101,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of the specified event object. Currently, this operation returns event bodies in only HTML format. There are two scenarios where an app can get an event in another user's calendar: Since the event resource supports extensions, you can also use the GET operation to get custom properties and extension data in an event instance. @@ -121,7 +121,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the event object. @@ -143,7 +143,7 @@ public async Task PatchAsync(Event body, Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes the specified event from the containing calendar. If the event is a meeting, deleting the event on the organizer's calendar sends a cancellation message to the meeting attendees. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs index 029cc8e5f2a..9fd0c6002f9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs index 46178f84033..dc5ece7294a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 3be1854668b..47d1a65ebbc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardPostRequestBody.cs index 870d695e74f..4f721da5326 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.cs index 68b2f5fb866..b3360d09728 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Count/CountRequestBuilder.cs index ddff7585377..4b4c35e5203 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs index 9a17bec661b..6096055af45 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of event resources that have been added, deleted, or updated in a calendarView (a range of events defined by start and end dates) of the user's primary calendar. Typically, synchronizing events in a calendarView in a local store entails a round of multiple delta function calls. The initial call is a full synchronization, and every subsequent delta call in the same round gets the incremental changes (additions, deletions, or updates). This allows you to maintain and synchronize a local store of events in the specified calendarView, without having to fetch all the events of that calendar from the server every time. @@ -90,9 +90,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The end date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -141,9 +143,11 @@ public class DeltaRequestBuilderGetQueryParameters { /// The start date and time of the time range in the function, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.cs index fa98b044e83..67a2bf506b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/InstancesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EventCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -109,9 +109,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Filter items by property values @@ -150,9 +152,11 @@ public class InstancesRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif /// Show only the first n items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs index 6c5867a9732..735f84bc2d3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptPostRequestBody.cs @@ -18,20 +18,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new acceptPostRequestBody and sets the default values. @@ -53,8 +53,8 @@ public static AcceptPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -63,8 +63,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs index 111bd5c3003..8ba6d605b78 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Accept/AcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AcceptPostRequestBody body, Action /// Accept the specified event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs index f50b29c6457..bbc3cfc616d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. @@ -86,7 +86,7 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of attachment objects attached to an event. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs index 704a5ae6de5..655b12fdd68 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 56c2c55a9c3..c564c7d8172 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index 915f1a858e1..3b708c01e2a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index b5ba5d34a3e..53bcb6022c8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an attachment from a user calendar event, mail message, or group post. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs index a13fdf233aa..bd8547a0bb0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Calendar/CalendarRequestBuilder.cs @@ -45,7 +45,7 @@ public CalendarRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Calendar.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The calendar that contains the event. Navigation property. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs index 2256d6c4f64..1c25f31ac94 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// @@ -48,7 +48,7 @@ public static CancelPostRequestBody CreateFromDiscriminatorValue(IParseNode pars /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); + writer.WriteStringValue("comment", Comment); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs index 6f8bc9b6710..69fb52f7975 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Cancel/CancelRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CancelPostRequestBody body, Action /// This action allows the organizer of a meeting to send a cancellation message and cancel the event. The action moves the event to the Deleted Items folder. The organizer can also cancel an occurrence of a recurring meeting by providing the occurrence event ID. An attendee calling this action gets an error (HTTP 400 Bad Request), with the followingerror message: 'Your request can't be completed. You need to be an organizer to cancel a meeting.' This action differs from Delete in that Cancel is available to only the organizer, and letsthe organizer send a custom message to the attendees about the cancellation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs index 45aa25c4089..729cecdd29b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclinePostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new declinePostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static DeclinePostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs index 8e60923d6a1..808b292c4ff 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Decline/DeclineRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeclinePostRequestBody body, Action /// Decline invitation to the specified event in a user calendar. If the event allows proposals for new times, on declining the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs index 76b67205aa9..4b2d6a3166d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/DismissReminder/DismissReminderRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Dismiss a reminder that has been triggered for an event in a user calendar. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs index f22efc1dd28..2082e837756 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/EventItemRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Event.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. @@ -137,9 +137,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("endDateTime")] public string? EndDateTime { get; set; } #nullable restore #else + [QueryParameter("endDateTime")] public string EndDateTime { get; set; } #endif /// Select properties to be returned @@ -155,9 +157,11 @@ public class EventItemRequestBuilderGetQueryParameters { /// The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("startDateTime")] public string? StartDateTime { get; set; } #nullable restore #else + [QueryParameter("startDateTime")] public string StartDateTime { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs index 027e266dd0a..117c6008ebf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs index 8730760f3be..41222d04aae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index fbdd07c9fe6..97e9b3a9891 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -86,7 +86,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs index 8e34c79cde3..0818edfe361 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -63,8 +63,8 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs index 8f2207d7ae9..ab200a3de26 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// This action allows the organizer or attendee of a meeting event to forward the meeting request to a new recipient. If the meeting event is forwarded from an attendee's Microsoft 365 mailbox to another recipient, this action also sends a message to notify the organizer of the forwarding, and adds the recipient to the organizer's copy of the meeting event. This convenience is not available when forwarding from an Outlook.com account. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index 14ebaef2c38..7813421b312 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 2d6fa0279b6..960638e8a9e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 8719ff06484..0c54232be02 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index af089110830..3a76f03deda 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/Instances/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs index cd0e7433a69..aef330e6c4b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderPostRequestBody.cs @@ -19,14 +19,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public DateTimeTimeZone? NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #nullable restore #else public DateTimeTimeZone NewReminderTime { - get { return BackingStore?.Get("NewReminderTime"); } - set { BackingStore?.Set("NewReminderTime", value); } + get { return BackingStore?.Get("newReminderTime"); } + set { BackingStore?.Set("newReminderTime", value); } } #endif /// @@ -49,7 +49,7 @@ public static SnoozeReminderPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"NewReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, + {"newReminderTime", n => { NewReminderTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("NewReminderTime", NewReminderTime); + writer.WriteObjectValue("newReminderTime", NewReminderTime); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs index 85135702310..911fc0a0ba9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/SnoozeReminder/SnoozeReminderRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SnoozeReminderPostRequestBody body, Action /// Postpone a reminder for an event in a user calendar until a new time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs index 572a5e8a4d5..252b488a897 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptPostRequestBody.cs @@ -19,34 +19,34 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The ProposedNewTime property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public TimeSlot? ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #nullable restore #else public TimeSlot ProposedNewTime { - get { return BackingStore?.Get("ProposedNewTime"); } - set { BackingStore?.Set("ProposedNewTime", value); } + get { return BackingStore?.Get("proposedNewTime"); } + set { BackingStore?.Set("proposedNewTime", value); } } #endif /// The SendResponse property public bool? SendResponse { - get { return BackingStore?.Get("SendResponse"); } - set { BackingStore?.Set("SendResponse", value); } + get { return BackingStore?.Get("sendResponse"); } + set { BackingStore?.Set("sendResponse", value); } } /// /// Instantiates a new tentativelyAcceptPostRequestBody and sets the default values. @@ -68,9 +68,9 @@ public static TentativelyAcceptPostRequestBody CreateFromDiscriminatorValue(IPar /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"ProposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, - {"SendResponse", n => { SendResponse = n.GetBoolValue(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"proposedNewTime", n => { ProposedNewTime = n.GetObjectValue(TimeSlot.CreateFromDiscriminatorValue); } }, + {"sendResponse", n => { SendResponse = n.GetBoolValue(); } }, }; } /// @@ -79,9 +79,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("ProposedNewTime", ProposedNewTime); - writer.WriteBoolValue("SendResponse", SendResponse); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("proposedNewTime", ProposedNewTime); + writer.WriteBoolValue("sendResponse", SendResponse); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs index 410a4052113..256d3d3e2ac 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Events/Item/TentativelyAccept/TentativelyAcceptRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TentativelyAcceptPostRequestBody body, Action /// Tentatively accept the specified event in a user calendar. If the event allows proposals for new times, on responding tentative to the event, an invitee can choose to suggest an alternative time by including the proposedNewTime parameter. For more information on how to propose a time, and how to receive and accept a new time proposal, see Propose new meeting times. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs index 92549d0c811..ed7e028f7fb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementData/ExportDeviceAndAppManagementDataRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function exportDeviceAndAppManagementData diff --git a/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs index e7d36b17ebe..ffdb218b1dd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ExportDeviceAndAppManagementDataWithSkipWithTop/ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder.cs @@ -49,7 +49,7 @@ public async Task GetAsync(Action(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceAndAppManagementData.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function exportDeviceAndAppManagementData diff --git a/src/Microsoft.Graph/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.cs index c472d218a6c..4734cf3300b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ExportPersonalData/ExportPersonalDataRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ExportPersonalDataPostRequestBody body, Action /// Submit a data policy operation request from a company administrator or an application to export an organizational user's data. This data includes the user's data stored in OneDrive and their activity reports. For more guidance about exporting data while complying with regulations, see Data Subject Requests and the GDPR and CCPA. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Extensions/Count/CountRequestBuilder.cs index 6772e41ec14..96042662771 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.cs index 90a386d582d..e72383f2ecf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for users @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 90425f94c30..9e0b080b38d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs index 53f130314cc..5c07a04fb3b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/FindMeetingTimes/FindMeetingTimesRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(FindMeetingTimesPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingTimeSuggestionsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingTimeSuggestionsResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Suggest meeting times and locations based on organizer and attendee availability, and time or location constraints specified as parameters. If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again. The algorithm used to suggest meeting times and locations undergoes fine-tuning from time to time. In scenarios like test environments where the input parameters and calendar data remain static, expect that the suggested results may differ over time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Count/CountRequestBuilder.cs index d09956d0e20..01320ae949c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.cs index b69fff0199c..58693fce090 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/FollowedSitesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SiteCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List the sites that have been followed by the signed in user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.cs index 2b1df3168a1..d5496193407 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/FollowedSites/Item/SiteItemRequestBuilder.cs @@ -45,7 +45,7 @@ public SiteItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Site.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get followedSites from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsPostRequestBody.cs index 5e868446d0d..958c0fc2e26 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsPostRequestBody.cs @@ -19,20 +19,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? EmailAddresses { - get { return BackingStore?.Get?>("EmailAddresses"); } - set { BackingStore?.Set("EmailAddresses", value); } + get { return BackingStore?.Get?>("emailAddresses"); } + set { BackingStore?.Set("emailAddresses", value); } } #nullable restore #else public List EmailAddresses { - get { return BackingStore?.Get>("EmailAddresses"); } - set { BackingStore?.Set("EmailAddresses", value); } + get { return BackingStore?.Get>("emailAddresses"); } + set { BackingStore?.Set("emailAddresses", value); } } #endif /// The MailTipsOptions property public MailTipsType? MailTipsOptions { - get { return BackingStore?.Get("MailTipsOptions"); } - set { BackingStore?.Set("MailTipsOptions", value); } + get { return BackingStore?.Get("mailTipsOptions"); } + set { BackingStore?.Set("mailTipsOptions", value); } } /// /// Instantiates a new getMailTipsPostRequestBody and sets the default values. @@ -54,8 +54,8 @@ public static GetMailTipsPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"EmailAddresses", n => { EmailAddresses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"MailTipsOptions", n => { MailTipsOptions = n.GetEnumValue(); } }, + {"emailAddresses", n => { EmailAddresses = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"mailTipsOptions", n => { MailTipsOptions = n.GetEnumValue(); } }, }; } /// @@ -64,8 +64,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("EmailAddresses", EmailAddresses); - writer.WriteEnumValue("MailTipsOptions", MailTipsOptions); + writer.WriteCollectionOfPrimitiveValues("emailAddresses", EmailAddresses); + writer.WriteEnumValue("mailTipsOptions", MailTipsOptions); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.cs index 4500fc6365e..25a63cbcd6c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMailTips/GetMailTipsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMailTipsPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMailTipsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMailTipsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the MailTips of one or more recipients as available to the signed-in user. Note that by making a POST call to the getMailTips action, you can request specific types of MailTips tobe returned for more than one recipient at one time. The requested MailTips are returned in a mailTips collection. diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs index b917f7d7df0..33f2b41bd32 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppDiagnosticStatuses/GetManagedAppDiagnosticStatusesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetManagedAppDiagnosticStatusesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetManagedAppDiagnosticStatusesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets diagnostics validation status for a given user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs index 0f33fb37bc7..9e02de8bd89 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetManagedAppPolicies/GetManagedAppPoliciesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetManagedAppPoliciesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetManagedAppPoliciesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Gets app restrictions for a given user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs index cad2e13c143..9fdfe146bdd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetManagedDevicesWithAppFailures/GetManagedDevicesWithAppFailuresRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetManagedDevicesWithAppFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetManagedDevicesWithAppFailuresResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieves the list of devices with failed apps diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 0b4b672a269..c065685c1d9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index 80007799d9a..a96560bea3d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.cs index 48b080ce358..9186fcd878c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/InferenceClassificationRequestBuilder.cs @@ -34,7 +34,7 @@ public InferenceClassificationRequestBuilder(Dictionary pathPara public InferenceClassificationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/inferenceClassification{?%24select}", rawUrl) { } /// - /// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -50,7 +50,7 @@ public InferenceClassificationRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property inferenceClassification in users @@ -71,10 +71,10 @@ public InferenceClassificationRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.InferenceClassification.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -135,7 +135,7 @@ public InferenceClassificationRequestBuilder WithUrl(string rawUrl) { return new InferenceClassificationRequestBuilder(rawUrl, RequestAdapter); } /// - /// Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance. + /// Relevance classification of the user's messages based on explicit designations that override inferred relevance or importance. /// public class InferenceClassificationRequestBuilderGetQueryParameters { /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Count/CountRequestBuilder.cs index 671a0ab02ea..70b72116bdd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs index e1bd44c503a..42ae5492a0b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/Item/InferenceClassificationOverrideItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Change the classifyAs field of an override as specified. You cannot use PATCH to change any other fields in an inferenceClassificationOverride instance. If an override exists for a sender and the sender changes his/her display name, you can use POST to force an update to the name field in the existing override. If an override exists for a sender and the sender changes his/her SMTP address, deleting the existing override and creating a new one withthe new SMTP address is the only way to 'update' the override for this sender. @@ -87,7 +87,7 @@ public async Task PatchAsync(InferenceClassific {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an override specified by its ID. diff --git a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.cs index b9634146d32..541c52a8c9f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/InferenceClassification/Overrides/OverridesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverrideCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverrideCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. Note @@ -81,7 +81,7 @@ public async Task PostAsync(InferenceClassifica {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, InferenceClassificationOverride.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs index 5ff1f832709..06c425deabc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/InsightsRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Get insights from users @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property insights in users @@ -100,7 +100,7 @@ public async Task PatchAsync(OfficeGraphInsights body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfficeGraphInsights.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property insights for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs index 4de866d053b..03ddbac0746 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs index 4ece4cb0c33..171881ca986 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/LastSharedMethod/LastSharedMethodRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get lastSharedMethod from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs index 308dc7106e9..8ba142662e2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/Resource/ResourceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used for navigating to the item that was shared. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs index 1a4bee5a4d8..c7e26781e00 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/Item/SharedInsightItemRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property shared in users @@ -95,7 +95,7 @@ public async Task PatchAsync(SharedInsight body, Action(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property shared for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs index e8f62af5584..da03d9095cc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Shared/SharedRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to shared for users @@ -80,7 +80,7 @@ public async Task PostAsync(SharedInsight body, Action(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Calculated insight that includes the list of documents shared with a user. This insight includes documents hosted on OneDrive/SharePoint in the user's Microsoft 365 tenant that are shared with the user, and documents that are attached as files and sent to the user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Count/CountRequestBuilder.cs index 4ac50d91379..e383f0b573e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs index 145a8839eb1..ca2ed5932b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/Resource/ResourceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used for navigating to the trending document. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.cs index 5dae446617e..e869c723f44 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/Item/TrendingItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property trending in users @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property trending for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.cs index 819b2808375..f8e9d5990bd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Trending/TrendingRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TrendingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TrendingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to trending for users @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Trending.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Calculated insight that includes a list of documents trending around the user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs index fd773b7caa5..173bc8b1e21 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs index 04b5c9af671..92735627238 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/Resource/ResourceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Entity.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Used for navigating to the item that was used. For file attachments, the type is fileAttachment. For linked attachments, the type is driveItem. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs index b2dca943055..1ad69e2f7b4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/Item/UsedInsightItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property used in users @@ -90,7 +90,7 @@ public async Task PatchAsync(UsedInsight body, Action(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property used for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs index 1aac571f352..96d51cc209b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Insights/Used/UsedRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, UsedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsightCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to used for users @@ -80,7 +80,7 @@ public async Task PostAsync(UsedInsight body, Action(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UsedInsight.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Calculate and list the documents that a user has viewed or modified. For the signed-in user:- This method includes documents that the user has modified; see example 1. - Using an $orderby query parameter on the lastAccessedDateTime property returns the most recently viewed documents that the user might or might not not have modified; see example 2. For other users, this method includes only documents that the user has modified. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Count/CountRequestBuilder.cs index a73e6470802..40e421d2818 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs index 0ec21e0ded8..12b4d0f3925 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs index e2bf1f7f2b9..932e031b5e2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/AllChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of channels either in this team or shared with this team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs index 5f9c5422364..f7725e25d3e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs index 488f9f2fe2c..0da5ee314b0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/AllChannels/Item/ChannelItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of channels either hosted in or shared with the team (incoming channels). diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs index ccb05eb1614..6d0664fef7d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Archive/ArchiveRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ArchivePostRequestBody body, Action /// Archive the specified team. When a team is archived, users can no longer send or like messages on any channel in the team, edit the team's name, description, or other settings, or in general make most changes to the team.Membership changes to the team continue to be allowed. Archiving is an async operation. A team is archived once the async operation completes successfully, which may occur subsequent to a response from this API. To archive a team, the team and group must have an owner. To restore a team from its archived state, use the API to unarchive. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs index 984b5ccc916..1ba10575700 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/ChannelsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new channel in a team, as specified in the request body. When you create a channel, the maximum length of the channel's displayName is 50 characters. This is the name that appears to the user in Microsoft Teams. If you're creating a private channel, you can add a maximum of 200 members. @@ -86,7 +86,7 @@ public async Task PostAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of channels in this team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs index b46f2d36fd7..f54d23dc2d0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs index 31a90729f12..a4b110b99ee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/GetAllMessages/GetAllMessagesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAllMessagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getAllMessages @@ -99,9 +99,11 @@ public class GetAllMessagesRequestBuilderGetQueryParameters { /// The payment model for the API #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("model")] public string? Model { get; set; } #nullable restore #else + [QueryParameter("model")] public string Model { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs index d86b585b6b0..bbd24ba127a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ChannelItemRequestBuilder.cs @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve channel information. @@ -111,7 +111,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified channel. @@ -133,7 +133,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the channel. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index a3edcdbb0fe..70b92622b6f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index 6f66a7500c0..9bf3eebda21 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs index 8192606e09a..97962c7a04d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs index 93f8a14d11b..61abfa11df3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs index 34041378234..853c11e15aa 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs index 9cf56e745ff..6d815bd2a59 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index a7ff9b24936..47d17eaf287 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs index b5d150f2433..71cb6440f89 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs index 13ea1f4cbac..89ae835523c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs index 70d2bd9d8fe..dd43aec7c05 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs index dc1aca43e21..84144b2b780 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 5587805cf5e..b29c26b6d05 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index a0d2d272c6e..2538d960794 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for users @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 6d487d838aa..745513d80b2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in users @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index ea416551ab0..639d415b99a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs index c1387313266..dd69755a8bd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 1f7b44d1765..f88b11b47fb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index fdf52837eb2..f85693dfb4e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in users @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index ff16826e7fe..9de9f4c7311 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index d17700734c7..d6a714ed324 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for users @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index c90fe77eeb3..6018ad2e8ab 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in users @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 46146c3ea64..4fbf46e5eb9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 6dacb5c3669..62a21952c01 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 267a2f9576d..d9cfd5f35a1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index b9d558cab02..e4388eefcf0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 1b0809a34b3..5dc9d57d96e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs index 91c137871bb..69cb3e30908 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 9f662f6f76f..8de5e04c0b1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index c2098914d39..e8912400cb9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 72af9e0793f..76cc6a9c5c4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index f33c60ddf54..16adee3efb3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs index 4b7705f3ab2..9af38519c0d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs index f2683cbbe50..633028889d9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs index e76481960ae..904000c391d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs index 2eb55c2d56c..ea034fbccc2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 9910bf24c4b..75d88b4a3a1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 787140e6f12..770c7bec495 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index 04b1e3fd4a1..708556c0c91 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 57c56ee9f15..8f4fa444075 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in users @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index 878c3c1bb09..8ba2d8b0b67 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 8ccb3b17e93..9119452315a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for users @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs index 950df36b71a..14e51290693 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index 25c77fcf86d..b07a5c5967e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs index 3c5f47ad1aa..7f0cf343c2e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs index b9a833f6b60..81682f5c506 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Channels/Item/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Clone/CloneRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Clone/CloneRequestBuilder.cs index 6e067d54915..8b434502539 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Clone/CloneRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Clone/CloneRequestBuilder.cs @@ -28,7 +28,7 @@ public CloneRequestBuilder(Dictionary pathParameters, IRequestAd public CloneRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/clone", rawUrl) { } /// - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// Find more info here /// /// The request body @@ -47,10 +47,10 @@ public async Task PostAsync(ClonePostRequestBody body, Action - /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are put into an unconfigured state - they are displayed on the tab bar in Microsoft Teams, and the first time you open them, you'll go through the configuration screen. (If the person opening the tab does not have permission to configure apps, they will see a message explaining that the tab hasn't been configured.) Cloning is a long-running operation. After the POST clone returns, you need to GET the operation to see if it's 'running' or 'succeeded' or 'failed'. You should continue to GET until the status is not 'running'. The recommended delay between GETs is 5 seconds. + /// Create a copy of a team. This operation also creates a copy of the corresponding group.You can specify which parts of the team to clone: When tabs are cloned, they are not configured. The tabs are displayed on the tab bar in Microsoft Teams, and the first time a user opens them, they must go through the configuration screen. If the user who opens the tab does not have permission to configure apps, they will see a message that says that the tab is not configured. Cloning is a long-running operation. After the POST clone returns, you need to GET the operation returned by the Location: header to see if it's running, succeeded, or failed. You should continue to GET until the status is not running. The recommended delay between GETs is 5 seconds. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs index df35c99b4ae..93985c08b5b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.cs index af36d53fd6c..8cfcd4525ee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Group/GroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get group from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs index 2d0bc65ef99..a36cfb8cb38 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs index de8c9c2f5c2..6c3b6502d37 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/IncomingChannelsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChannelCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of incoming channels (channels shared with a team). diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs index 5cf2834ac6e..dc4a11902b9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/IncomingChannels/Item/ChannelItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// List of channels shared with the team. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove an incoming channel (a channel shared with a team) from a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs index fc57b7d9a52..a3a5912853b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs index a83b51a60e0..e552c792ba9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install an app to the specified team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsAppInstallation body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of apps installed in the specified team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index 9dc15c92a4b..1164fa8da29 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index e6aee286e26..52e2d6957df 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs index a11907b4728..24da38e18da 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/TeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the app installed in the specified team. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in users @@ -102,7 +102,7 @@ public async Task PatchAsync(TeamsAppInstallation body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstalls an app from the specified team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs index 72cd9a8b450..94b877fd75d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/InstalledApps/Item/Upgrade/UpgradeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpgradePostRequestBody body, Action /// Upgrade an app installation within a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs index 76bfd60a49c..60739422c5a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs index a57f9d142c8..833b7b0afef 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs index 68daa180338..10ac7fda7c7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a team. @@ -88,7 +88,7 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a conversationMember from a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs index b5a92a78a8d..96962e976c0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a new conversationMember to a team. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the conversationMember collection of a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs index 31a328d69a5..6358a261c6b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs index ebc89a1734a..fae557522f9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/Item/TeamsAsyncOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The async operations that ran or are running on this team. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in users @@ -85,7 +85,7 @@ public async Task PatchAsync(TeamsAsyncOperation body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs index a38728d8e62..a57dd7301a8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for users @@ -79,7 +79,7 @@ public async Task PostAsync(TeamsAsyncOperation body, Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsAsyncOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The async operations that ran or are running on this team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs index 1e73f835713..eb82d7c6ad3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs index ea24e73c170..0a2a90fb8bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs index c88e09663a6..ba72e032aba 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetAvailableExtensionProperties/GetAvailableExtensionPropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetAvailabl {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetAvailableExtensionPropertiesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:+ user+ group+ administrativeUnit+ application+ device+ organization diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs index fe61d427c17..b573fdbde5c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/GetByIds/GetByIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetByIdsPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetByIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return the directory objects specified in a list of IDs. Only a subset of user properties are returned by default in v1.0. Some common uses for this function are to: diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs index be47615d236..18e3684d36d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberGroups/CheckMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CheckMemberGroupsPostRequ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Check for membership in a specified list of group IDs, and return from that list those groups (identified by IDs) of which the specified user, group, service principal, organizational contact, device, or directory object is a member. This function is transitive. You can check up to a maximum of 20 groups per request. This function supports all groups provisioned in Azure AD. Because Microsoft 365 groups cannot contain other groups, membership in a Microsoft 365 group is always direct. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs index 4d66b6fc4bc..a1f9a9e0574 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/CheckMemberObjects/CheckMemberObjectsRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(CheckMemberObjectsPostRe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CheckMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action checkMemberObjects diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs index 979252a3ae2..8e2b5ce3df9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberGroups/GetMemberGroupsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberGroupsPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberGroupsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all the group IDs for the groups that the specified user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. This API returns up to 11,000 group IDs. If more than 11,000 results are available, it returns a 400 Bad Request error with the Directory_ResultSizeLimitExceeded error code. As a workaround, use the List group transitive memberOf API. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs index f0e988fcb0f..e6ec0053776 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/GetMemberObjects/GetMemberObjectsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(GetMemberObjectsPostReques {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetMemberObjectsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Return all IDs for the groups, administrative units, and directory roles that a user, group, service principal, organizational contact, device, or directory object is a member of. This function is transitive. Note: Only users and role-enabled groups can be members of directory roles. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs index 1e2cfc8a794..8f308848dc8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/ResourceSpecificPermissionGrantItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// A collection of permissions granted to apps to access the team. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property permissionGrants in users @@ -110,7 +110,7 @@ public async Task PatchAsync(ResourceSpecificPe {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property permissionGrants for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs index d5acd7316df..a9747a4621e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs index 93a81aab067..90a250f3b66 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/PermissionGrantsRequestBuilder.cs @@ -79,7 +79,7 @@ public async Task GetAsync(Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to permissionGrants for users @@ -100,7 +100,7 @@ public async Task PostAsync(ResourceSpecificPer {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ResourceSpecificPermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all resource-specific permission grants on the team. This list specifies the Azure AD apps that have access to the team, along with each app's corresponding type of resource-specific access. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 7f3db2f82b5..54347ba8c39 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PermissionGrants/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs index bb4c26bd76c..76d8c48ddf6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/PhotoRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in users @@ -72,7 +72,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Azure Active Directory. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs index 425a22cbcc6..8c37a4fda60 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Photo/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs index 1eaef2446c4..8a4d0e8cbb2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/CompleteMigration/CompleteMigrationRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Complete the message migration process by removing migration mode from a channel in a team. Migration mode is a special state that prevents certain operations, like sending messages and adding members, during the data migration process. After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs index ec07fadc095..9449ee0f2a4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalName/DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUserPrincipalNameResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function doesUserHaveAccess @@ -86,25 +86,31 @@ public class DoesUserHaveAccessuserIdUserIdTenantIdTenantIdUserPrincipalNameUser /// Usage: tenantId='@tenantId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("tenantId")] public string? TenantId { get; set; } #nullable restore #else + [QueryParameter("tenantId")] public string TenantId { get; set; } #endif /// Usage: userId='@userId' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userId")] public string? UserId { get; set; } #nullable restore #else + [QueryParameter("userId")] public string UserId { get; set; } #endif /// Usage: userPrincipalName='@userPrincipalName' #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("userPrincipalName")] public string? UserPrincipalName { get; set; } #nullable restore #else + [QueryParameter("userPrincipalName")] public string UserPrincipalName { get; set; } #endif } diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs index 96a992936c0..ec3c6c85cd2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. @@ -67,7 +67,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream, if the item represents a file. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs index 8a1ad789394..22c5f5fd4fa 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/FilesFolder/FilesFolderRequestBuilder.cs @@ -51,7 +51,7 @@ public FilesFolderRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DriveItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the metadata for the location where the files of a channel are stored. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs index d729de9eafa..ab1e76d325e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Add/AddRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(AddPostRequestBody body, Action(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AddResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add multiple members in a single request to a team. The response provides details about which memberships could and couldn't be created. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs index 047ea024013..8cc63a0a1db 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs index 9be6cafdc2e..fee20ddbef8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/Item/ConversationMemberItemRequestBuilder.cs @@ -29,8 +29,8 @@ public ConversationMemberItemRequestBuilder(Dictionary pathParam public ConversationMemberItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/members/{conversationMember%2Did}{?%24select,%24expand}", rawUrl) { } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. - /// Find more info here + /// Delete a conversationMember from a channel. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get a conversationMember from a channel. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. @@ -88,10 +88,10 @@ public async Task PatchAsync(ConversationMember body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Delete a conversationMember from a channel. This operation is allowed only for channels with a membershipType value of private or shared. + /// Delete a conversationMember from a channel. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs index 7a3d0f5a90a..48ba55eb335 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Members/MembersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a conversationMember to a channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ConversationMember body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of conversationMembers from a channel. This method supports federation. Only a user who is a member of the shared channel can retrieve the channel member list. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs index 54f3d6a4b1d..7e533f79bed 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs index 4d72126ba46..715b8bbcd43 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs index 713a2cc9343..2aaaa136793 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/ChatMessageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -95,7 +95,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update a chatMessage object. With the exception of the policyViolation property, all properties of a chatMessage can be updated in delegated permissions scenarios.Only the policyViolation property of a chatMessage can be updated in application permissions scenarios. The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail. This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message. @@ -117,7 +117,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs index 09f2fdfbea7..3e4959ceba8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs index 8171ccde495..5596b70e6a5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for users @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index 741e9d756d3..7a6853dbf09 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in users @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 6a32e9d3087..3ec0d2aee4d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs index 6c4ba2ba0e5..739ad339eb3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs index 723c6d2e778..90b891ec5a0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs index 5261979409b..1260c536798 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/ChatMessageItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve a single message or a message reply in a channel or a chat. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property replies in users @@ -111,7 +111,7 @@ public async Task PatchAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property replies for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs index fb1b08b2a5f..a1d31730b96 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs index ada81894f97..79a5885229c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to hostedContents for users @@ -80,7 +80,7 @@ public async Task PostAsync(ChatMessageHostedContent b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs index ba30857ce68..7abb966324e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/ChatMessageHostedContentItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of chatMessageHostedContent object. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property hostedContents in users @@ -91,7 +91,7 @@ public async Task PatchAsync(ChatMessageHostedContent {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property hostedContents for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs index 791c72c6ff9..488270333e9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/HostedContents/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property hostedContents in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property hostedContents from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs index 23a2ceae1b1..94faa72be79 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs index 0bee67b084f..1010222eed8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index b702263bfab..e03053e048b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index df54d5272ef..ed3f441730d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs index 68fc412b501..ccb2d14f09a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/Replies/RepliesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send a new reply to a chatMessage in a specified channel. @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List all the replies to a message in a channel of a team. This method lists only the replies of the specified message, if any. To get the message itself, simply call get channel message. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs index 00ceb2d5727..6edbe25182f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SetReaction/SetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetReactionPostRequestBody body, Action /// Invoke action setReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs index a1335c5f8d6..af2e28c00f9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/SoftDelete/SoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Delete a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs index 2d8546e1d8f..a2da395a4e9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UndoSoftDelete/UndoSoftDeleteRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Undo soft deletion of a single chatMessage or a chat message reply in a channel or a chat. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs index 4d741f91d16..7b8433c6fbd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(UnsetReactionPostRequestBody body, Action /// Invoke action unsetReaction diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs index 2ab13fd8612..fc1d1a1b9e3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Messages/MessagesRequestBuilder.cs @@ -64,11 +64,11 @@ public async Task GetAsync(Action(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Send a new chatMessage in the specified channel. - /// Find more info here + /// Send a new chatMessage in the specified channel or a chat. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -86,7 +86,7 @@ public async Task PostAsync(ChatMessage body, Action(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChatMessage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of messages (without the replies) in a channel of a team. To get the replies for a message, call the list message replies or the get message reply API. This method supports federation. To list channel messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the tenantId property on the channel). @@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Send a new chatMessage in the specified channel. + /// Send a new chatMessage in the specified channel or a chat. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs index cdd02705880..ecbd5c6e6e9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/PrimaryChannelRequestBuilder.cs @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action /// Get the default channel, General, of a team. @@ -110,7 +110,7 @@ public async Task GetAsync(Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property primaryChannel in users @@ -131,7 +131,7 @@ public async Task PatchAsync(Channel body, Action(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Channel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property primaryChannel for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs index 5bee83f39ef..b27c347b9b9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/ProvisionEmail/ProvisionEmailRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProvisionChannelEmailResult.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provision an email address for a channel. Microsoft Teams doesn't automatically provision an email address for a channel by default. To have Teams provision an email address, you can call provisionEmail, or through the Teams user interface, select Get email address, which triggers Teams to generate an email address if it has not already provisioned one. To remove the email address of a channel, use the removeEmail method. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs index 0b1257352d5..f088c4e5655 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/RemoveEmail/RemoveEmailRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remove the email address of a channel. You can remove an email address only if it was provisioned using the provisionEmail method or through the Microsoft Teams client. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs index a5f1be1a1a3..6a3ea1e957c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs index 8bd988acb1d..29458fd2cf2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/AllowedMembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of conversationMembers who can access a shared channel. This method does not return the following conversationMembers from the team:- Users with Guest role- Users who are externally authenticated in the tenant diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs index 93bf499e4b9..c36abb5e379 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs index 3ea6a9e1f79..e98dabceb4f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/AllowedMembers/Item/ConversationMemberItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ConversationMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// A collection of team members who have access to the shared channel. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs index 167ffa73303..d44b74940db 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/SharedWithChannelTeamInfoItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Get a team that has been shared with a specified channel. This operation is allowed only for channels with a membershipType value of shared. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sharedWithTeams in users @@ -97,7 +97,7 @@ public async Task PatchAsync(SharedWithChannelTeamInf {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Unshare a channel with a team by deleting the corresponding sharedWithChannelTeamInfo resource. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs index f1eae2d0f09..55646532815 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs index 8a9997d0596..215576a5e72 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/SharedWithTeams/SharedWithTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sharedWithTeams for users @@ -80,7 +80,7 @@ public async Task PostAsync(SharedWithChannelTeamInfo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SharedWithChannelTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams that has been shared a specified channel. This operation is allowed only for channels with a membershipType value of shared. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs index 4dcd5c7dfbe..81432bda839 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs index d3d194ab3d5..7ba08176907 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The application that is linked to the tab. This cannot be changed after tab creation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs index ca741c13c68..1a84a6f33b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/Item/TeamsTabItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of the specified tab in a channel within a team. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified tab.This can be used to configure the content of the tab. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Removes (unpins) a tab from the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs index 40774b65a42..3624a6368f5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/PrimaryChannel/Tabs/TabsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTabCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Adds (pins) a tab to the specified channel within a team. The corresponding app must already be installed in the team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamsTab body, Action(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTab.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of tabs in the specified channel within a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs index c6f178b4b27..ebc6bb83361 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs index 1024a941677..35f04bf40cd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/Item/OfferShiftRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an offerShiftRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property offerShiftRequests in users @@ -86,7 +86,7 @@ public async Task PatchAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property offerShiftRequests for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs index f3cdfd82be4..93a75e1f446 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OfferShiftRequests/OfferShiftRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an offerShiftRequest. @@ -81,7 +81,7 @@ public async Task PostAsync(OfferShiftRequest body, Action(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OfferShiftRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of all offerShiftRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs index 2f777994253..5b911850474 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs index 691c89321eb..b853f52701b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/Item/OpenShiftChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openShiftChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property openShiftChangeRequests in users @@ -86,7 +86,7 @@ public async Task PatchAsync(OpenShiftChangeRequest body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property openShiftChangeRequests for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs index 49aaf86ed38..fc4ea96c664 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShiftChangeRequests/OpenShiftChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create instance of an openShiftChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShiftChangeRequest body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of openShiftChangeRequest objects in a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs index 33dd686446c..d282d6da34d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs index 6454cc8d847..53a464060f6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/Item/OpenShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an openshift object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of an openShift object. @@ -88,7 +88,7 @@ public async Task PatchAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an openShift object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs index 31bc781a489..587473f8ae2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/OpenShifts/OpenShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of an openShift object. @@ -81,7 +81,7 @@ public async Task PostAsync(OpenShift body, Action(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OpenShift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List openShift objects in a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs index 443b0927237..3abc4fe39b8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/ScheduleRequestBuilder.cs @@ -95,7 +95,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedule object. The schedule creation process conforms to the One API guideline for resource based long running operations (RELO).When clients use the PUT method, if the schedule is provisioned, the operation updates the schedule; otherwise, the operation starts the schedule provisioning process in the background. During schedule provisioning, clients can use the GET method to get the schedule and look at the provisionStatus property for the current state of the provisioning. If the provisioning failed, clients can get additional information from the provisionStatusCode property. Clients can also inspect the configuration of the schedule. @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property schedule in users @@ -136,7 +136,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Schedule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property schedule for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs index da6f0e9b566..81eebfd521a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs index 1afae68acfb..2291b6985dc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/Item/SchedulingGroupItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a schedulingGroup by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing schedulingGroup. If the specified schedulingGroup doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a schedulingGroup as inactive by setting its isActive property.This method does not remove the schedulingGroup from the schedule. Existing shift instances assigned to the scheduling group remain part of the group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs index 26891be392d..5723a5971fb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SchedulingGroups/SchedulingGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new schedulingGroup. @@ -81,7 +81,7 @@ public async Task PostAsync(SchedulingGroup body, Action(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SchedulingGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of schedulingGroups in this schedule. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs index 84e901a0232..0d7e9f37aa2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Share/ShareRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SharePostRequestBody body, Action /// Share a schedule time range with schedule members.Make the collections of shift, openshift and timeOff items in the specified time range of the schedule viewable by the specified team members, including employees and managers.Each shift, openshift and timeOff instance in a schedule supports a draft version and a shared version of the item. The draft version is viewable by only managers, and the shared version is viewable by employees and managers. For each shift, openshift and timeOff instance in the specified time range, the share action updates the shared version from the draft version, so that in addition to managers, employees can also view the most current information about the item. The notifyTeam parameter further specifies which employees can view the item. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs index 862db158230..aa118dcdb3a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs index 7ce026c7123..500ff857d9c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/Item/ShiftItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a shift object by ID. @@ -66,10 +66,10 @@ public async Task GetAsync(Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// Find more info here /// /// The request body @@ -88,7 +88,7 @@ public async Task PatchAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a shift from the schedule. @@ -141,7 +141,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift cannot be less than 1 minute or longer than 24 hours. + /// Replace an existing shift. If the specified shift doesn't exist, this method returns 404 Not found. The duration of a shift can't be less than 1 minute or longer than 24 hours. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs index 35b08fb0c21..437cbaae72e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/Shifts/ShiftsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ShiftCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new shift instance in a schedule. The duration of a shift cannot be less than 1 minute or longer than 24 hours. @@ -81,7 +81,7 @@ public async Task PostAsync(Shift body, Action(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Shift.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of shift instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs index 09718af0fc4..8ad0025671d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs index 89aedd1d8ae..cd491cd8ca6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/Item/SwapShiftsChangeRequestItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a swapShiftsChangeRequest object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property swapShiftsChangeRequests in users @@ -86,7 +86,7 @@ public async Task PatchAsync(SwapShiftsChangeRequest bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property swapShiftsChangeRequests for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs index cb6614ca942..b1596d79978 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/SwapShiftsChangeRequests/SwapShiftsChangeRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an instance of a swapShiftsChangeRequest object. @@ -81,7 +81,7 @@ public async Task PostAsync(SwapShiftsChangeRequest bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SwapShiftsChangeRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of swapShiftsChangeRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs index aa0d9accfb9..2564ee5e3ae 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs index b2e691a99ad..28fc8858d60 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/Item/TimeOffReasonItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOffReason object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOffReason. If the specified timeOffReason doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Mark a timeOffReason as inactive by setting the isActive property. Every team must include at least one timeoff reason. This method does not remove the specified timeOffReason instance. timeOffItem instances that have been assigned this reason remain assigned to this reason. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs index cc48f9727fe..17dff220976 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffReasons/TimeOffReasonsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReasonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOffReason. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOffReason body, Action(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffReason.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOffReasons in a schedule. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs index 4130b7aa1c6..5cf15023e75 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs index 303bd8c1ac6..4110729d87d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/Item/TimeOffRequestItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeoffrequest object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property timeOffRequests in users @@ -87,7 +87,7 @@ public async Task PatchAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOffRequest object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs index 07090eba479..8c8998a5fcd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimeOffRequests/TimeOffRequestsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequestCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to timeOffRequests for users @@ -80,7 +80,7 @@ public async Task PostAsync(TimeOffRequest body, Action(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffRequest.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of timeOffRequest objects in the team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs index ef7e318c3d0..39dd691333f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs index b092d577c0f..cf355627ce9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/Item/TimeOffItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a timeOff object by ID. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Replace an existing timeOff object. If the specified timeOff object doesn't exist, this method returns 404 Not found. @@ -88,7 +88,7 @@ public async Task PatchAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a timeOff instance from a schedule. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs index 06d20765dda..7a2df8317c0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Schedule/TimesOff/TimesOffRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOffCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new timeOff instance in a schedule. @@ -81,7 +81,7 @@ public async Task PostAsync(TimeOff body, Action(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TimeOff.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of timeOff instances in a schedule. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index 3ca8f9e47ec..903fe8ed1a0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification in the scope of a team. For more details about sending notifications and the requirements for doing so, seesending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs index a42dda0c13f..c6671797381 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs index d96af5c734d..7f4b6ef21d4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs index 20b0f1859a4..3ca09135843 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/Item/TeamworkTagMemberItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a member of a standard tag in a team. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property members in users @@ -87,7 +87,7 @@ public async Task PatchAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a member from a standard tag in a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs index 64e956e416f..ed1a3023ba9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/Members/MembersRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMemberCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new teamworkTagMember object in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTagMember body, Action(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagMember.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the members of a standard tag in a team and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs index add1550197d..1a0ace5e810 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/Item/TeamworkTagItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a tag object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a tag object. @@ -93,7 +93,7 @@ public async Task PatchAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a tag object permanently. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.cs index 5e2a9b7efcb..5d60350cf16 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Tags/TagsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTagCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a standard tag for members in a team. @@ -81,7 +81,7 @@ public async Task PostAsync(TeamworkTag body, Action(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamworkTag.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the tag objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.cs index 8caee5163f2..279fe882202 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/TeamItemRequestBuilder.cs @@ -135,7 +135,7 @@ public async Task DeleteAsync(Action /// Get joinedTeams from users @@ -154,7 +154,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property joinedTeams in users @@ -175,7 +175,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property joinedTeams for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.cs index 13c7ba54b3a..e0882db99c5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Template/TemplateRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamsTemplate.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The template this team was created from. See available templates. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs index ca8add0b06b..d976522d886 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/Item/Unarchive/UnarchiveRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Restore an archived team. This restores users' ability to send messages and edit the team, abiding by tenant and team settings. Teams are archived using the archive API. Unarchiving is an async operation. A team is unarchived once the async operation completes successfully, which may occur subsequent to a response from this API. diff --git a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.cs index 6a31e8dbea5..63da0bc5b16 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/JoinedTeams/JoinedTeamsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TeamCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to joinedTeams for users @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the teams in Microsoft Teams that the user is a direct member of. diff --git a/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Count/CountRequestBuilder.cs index 5ee31104460..a047db3c565 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs index 0599409df63..1dae69b30d1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/Item/LicenseDetailsItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// A collection of this user's license details. Read-only. @@ -64,7 +64,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property licenseDetails in users @@ -85,7 +85,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property licenseDetails for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.cs index 06b3036f06a..221641f05a3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/LicenseDetails/LicenseDetailsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LicenseDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LicenseDetailsCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to licenseDetails for users @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.LicenseDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of licenseDetails objects for enterprise users. This API returns details for licenses that are directly assigned and those transitively assigned through memberships in licensed groups. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Count/CountRequestBuilder.cs index 3590dc925b9..817b6e43929 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs index 0e7bb3dfa49..616767ad308 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs index 408c00002de..9770b2bece8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/ChildFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new mailSearchFolder in the specified user's mailbox. @@ -86,7 +86,7 @@ public async Task PostAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of child folders in the mailFolder. @@ -179,9 +179,11 @@ public class ChildFoldersRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs index d19fdd70ad4..5b799888e8c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs index 6ac0764a4ad..b0a16255b1e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls,you can query for incremental changes in the mail folders. This allows you to maintain and synchronizea local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs index 2b0f2dde180..3159b5db67d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs index d4e7954c1f6..46cf04c5c8d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyPostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs index b4eb79d17e3..507373e6189 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MailFolderItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// The collection of child folders in the mailFolder. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property childFolders in users @@ -105,7 +105,7 @@ public async Task PatchAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property childFolders for users @@ -225,9 +225,11 @@ public class MailFolderItemRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs index ebfcfa74630..ef2b3921098 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs index df4551cc932..8eb8453d1a2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a messageRule object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Change writable properties on a messageRule object and save the changes. @@ -88,7 +88,7 @@ public async Task PatchAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified messageRule object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs index eb3773ca7a0..a9d54bdeb74 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/MessageRules/MessageRulesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. @@ -81,7 +81,7 @@ public async Task PostAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messageRule objects defined for the user's inbox. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs index b25650d37ad..5b1a9ca1e02 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index 81d0ab2558a..14a222dd084 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index 3e268ab3c94..8a5d6e46f9b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. @@ -86,10 +86,10 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs index 29acc9b75dc..e6220d2471a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index f818ed40e3d..04ddf07431f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index fa357a6190b..05980fc360d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 44bbad4042f..620d664921f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs index 89544cd606d..c47a1f1da75 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs index 83e8a8b556e..bca244751d0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a message to a folder within the user's mailbox. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs index 31959c73054..7039d05ee35 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNo /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index 57e318df953..a1fb6efe2ee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs index 619771436c0..4557fa75a5e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs index b4f6a9fa454..caa30b60176 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs index 58535a6cf32..4896fda0661 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs index 5155a30df9f..c445d6570bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs index 881045f7569..42261416175 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs index c642edace1d..63aaa832b8d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 1a6d4ac7004..aba8e7665bb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs index c010bebd9ea..62525029b25 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs index 3278e9c7f78..f357f0dcd12 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index e32e9b77a5a..f252d3e23f4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// The collection of messages in the mailFolder. @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in users @@ -145,7 +145,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs index 3e7032f1b33..f46e51429a7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs index 90283278834..dfa97af7668 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs index d3493cc7943..8488bb0adbd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs index 0df32b99f1b..705167247b5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs index 71077ff053e..a6b99c35e7c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs index 76102f59766..48a7cce46a3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyAllPostRequestBody body, Action /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs index d39065f8fe5..b11c03977fd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Send/SendRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs index 3242eff5868..414ffa39a4a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property messages in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property messages from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs index d6645f10fc7..389526cff95 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Messages/MessagesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new Message in a mailfolder. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs index 7093066d550..a62e1dff5db 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs index 88726aabe09..acdae55975e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/ChildFolders/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(MovePostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyPostRequestBody.cs index c6e4b999c63..e489dc25986 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.cs index 9bc6e60e237..fcd8b4a6032 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyPostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs index 88c75d4e934..06cf36ced93 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MailFolderItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// The user's mail folders. Read-only. Nullable. @@ -91,11 +91,11 @@ public async Task GetAsync(Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the writable properties of a mailSearchFolder object. - /// Find more info here + /// Update the properties of mailfolder object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -113,7 +113,7 @@ public async Task PatchAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified mailFolder. The folder can be a mailSearchFolder. You can specify a mail folder by its folder ID, or by its well-known folder name, if one exists. @@ -166,7 +166,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the writable properties of a mailSearchFolder object. + /// Update the properties of mailfolder object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -233,9 +233,11 @@ public class MailFolderItemRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs index 48e05504072..b610a0a86f7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs index c0f461fd266..b7eadf2c408 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/Item/MessageRuleItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of a messageRule object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Change writable properties on a messageRule object and save the changes. @@ -88,7 +88,7 @@ public async Task PatchAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified messageRule object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs index f9319861bf5..f3ca488d33d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/MessageRules/MessageRulesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRuleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions. @@ -81,7 +81,7 @@ public async Task PostAsync(MessageRule body, Action(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageRule.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messageRule objects defined for the user's inbox. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Count/CountRequestBuilder.cs index 292c2bb023a..450be76bc9f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs index 7d57a468cad..1e1e4e726e1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index e9e1c40a2c1..76d2a9ea3f0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. @@ -86,10 +86,10 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs index 79ea33c23aa..8e3e878ec46 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 292a5b4a3dc..8c6ae19e3dd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index a99542683ef..2bdff2f3ca7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index 8c1ec113386..5e9ec167955 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs index 05fed5d5e71..f819f927306 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs index b95fd72e68f..57d518f0341 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a message to a folder within the user's mailbox. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs index 6f482d08708..5195494d613 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNo /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index d252cf2a74b..82ebf37238f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs index 53dd70578a1..0bc7f948157 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs index c7f32ec33a2..4b1d7139a2e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs index f3483b85344..817475578e0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs index 2f5ca0cfe6c..9d340a5a3d0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs index da508869a61..ff253a1a33f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs index 9bc045faad6..d3ee31f09c8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index c9431bf6e1a..0eb7da4a34e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs index c6f75cdc2bf..61866e2803b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs index 929d3b6a16d..745bf675cb5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs index 2ec6e7826c6..3a68a86554a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -105,7 +105,7 @@ public async Task DeleteAsync(Action /// The collection of messages in the mailFolder. @@ -124,7 +124,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property messages in users @@ -145,7 +145,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property messages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs index 36dd1a4c534..7ab555059a3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs index 91c34d4ae2e..5d09d374395 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs index 923e939deb0..b6fdd511ae8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs index 4c5fcc94a84..499a8353e8b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs index 71decbc3cf4..abfdbf1c2d4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs index 6f8019c50b4..b3bf2f28f8d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyAllPostRequestBody body, Action /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs index a4463ef26a2..f9b02b45ed5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Send/SendRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs index d178d68dd10..69d7a9a4118 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property messages in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property messages from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.cs index cf191e92ab7..24b623e50c7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Messages/MessagesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new Message in a mailfolder. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the messages in the specified user's mailbox, or those messages in a specified folder in the mailbox. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MovePostRequestBody.cs index 7db45fa9466..12b137ecbe7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.cs index f6b7e7fd979..4b6a9df3ad9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(MovePostRequestBody body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a mailfolder and its contents to another mailfolder. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.cs index 5d58d9c4035..517207dc8e3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailFolders/MailFoldersRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolderCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to create a new mail folder in the root folder of the user's mailbox. If you intend a new folder to be hidden, you must set the isHidden property to true on creation. @@ -86,7 +86,7 @@ public async Task PostAsync(MailFolder body, Action(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MailFolder.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The user's mail folders. Read-only. Nullable. @@ -179,9 +179,11 @@ public class MailFoldersRequestBuilderGetQueryParameters { /// Include Hidden Folders #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenFolders")] public string? IncludeHiddenFolders { get; set; } #nullable restore #else + [QueryParameter("includeHiddenFolders")] public string IncludeHiddenFolders { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs index 15ecd62699d..ecbc67577e1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MailboxSettings/MailboxSettingsRequestBuilder.cs @@ -45,7 +45,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update property mailboxSettings value. @@ -66,7 +66,7 @@ public MailboxSettingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.MailboxSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Count/CountRequestBuilder.cs index 10b2ba5dc5b..7ebfee551ca 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs index bd294a8d73b..5c8f582f43b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/Item/ManagedAppRegistrationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Zero or more managed app registrations that belong to the user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs index 2ad7c06984a..67352a7e8cd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedAppRegistrations/ManagedAppRegistrationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedAppRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedAppRegistrationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Zero or more managed app registrations that belong to the user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Count/CountRequestBuilder.cs index 7bf1c9b8d80..8acb99ac8d7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs index 42f7666ef02..e4433ccd568 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/BypassActivationLock/BypassActivationLockRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Bypass activation lock diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs index 4aaf2e261b9..7fde87074af 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/CleanWindowsDevice/CleanWindowsDeviceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(CleanWindowsDevicePostRequestBody body, Action /// Clean Windows device diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs index c0840c48efa..805e33a5e27 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeleteUserFromSharedAppleDevice/DeleteUserFromSharedAppleDeviceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(DeleteUserFromSharedAppleDevicePostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete user from shared Apple device diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs index d52eb8ad677..4b7a83abe4c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCategory/DeviceCategoryRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the deviceCategory object. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a deviceCategory object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.DeviceCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceCategory for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs index 0d3287ee664..755137c485e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs index d5f15694c92..187b21364d0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/DeviceCompliancePolicyStatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceCompliancePolicyStates for users @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceCompliancePolicyS {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Device compliance policy states for this device. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs index 47ffc2bc4eb..8ffe84805bc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceCompliancePolicyStates/Item/DeviceCompliancePolicyStateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Device compliance policy states for this device. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceCompliancePolicyStates in users @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceCompliancePolicy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCompliancePolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceCompliancePolicyStates for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs index eb688ff4125..114bf4cdd15 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs index 3dac068d4d9..46f53334473 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/DeviceConfigurationStatesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to deviceConfigurationStates for users @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceConfigurationState b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Device configuration states for this device. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs index 510a7c5c146..99a2059604a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DeviceConfigurationStates/Item/DeviceConfigurationStateItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Device configuration states for this device. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property deviceConfigurationStates in users @@ -85,7 +85,7 @@ public async Task PatchAsync(DeviceConfigurationState {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceConfigurationState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property deviceConfigurationStates for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs index 02907cb51e6..40db0c2a6c8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/DisableLostMode/DisableLostModeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Disable lost mode diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs index 0e21f6ad517..04a4fbb64b9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LocateDevice/LocateDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Locate a device diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs index 90616c2270b..bac2f677460 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs index 62dd05f7128..2b1da17ed86 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/CreateDownloadUrl/CreateDownloadUrlRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action(requestInfo, CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CreateDownloadUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke action createDownloadUrl diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs index eda54d8a915..5671b8fe516 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/Item/DeviceLogCollectionResponseItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// List of log collection requests @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property logCollectionRequests in users @@ -90,7 +90,7 @@ public async Task PatchAsync(DeviceLogCollectionRes {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property logCollectionRequests for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs index 07ae185eb89..c105b724ac7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogCollectionRequests/LogCollectionRequestsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to logCollectionRequests for users @@ -79,7 +79,7 @@ public async Task PostAsync(DeviceLogCollectionResp {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceLogCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List of log collection requests diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs index dbaf369d366..5051bd020df 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/LogoutSharedAppleDeviceActiveUser/LogoutSharedAppleDeviceActiveUserRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Logout shared Apple device active user diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs index 796a39362ec..dad209feead 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ManagedDeviceItemRequestBuilder.cs @@ -165,7 +165,7 @@ public async Task DeleteAsync(Action /// The managed devices associated with the user. @@ -184,7 +184,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property managedDevices in users @@ -205,7 +205,7 @@ public async Task PatchAsync(ManagedDevice body, Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property managedDevices for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs index ed6c1fe0434..d1db2f679a7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RebootNow/RebootNowRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reboot device diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs index e8b89af0e5d..629ba5a8354 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RecoverPasscode/RecoverPasscodeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Recover passcode diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs index f0ab82fb6fe..6faf988671d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RemoteLock/RemoteLockRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Remote lock diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs index 62e5129797e..f323534820b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/RequestRemoteAssistance/RequestRemoteAssistanceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Request remote assistance diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs index 41a174e26b1..bf2d1ddfb99 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ResetPasscode/ResetPasscodeRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Reset passcode diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.cs index ed508d79222..2cc51ca8812 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Retire/RetireRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retire a device diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs index 7663b780bc9..01fce8b477d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/ShutDown/ShutDownRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Shut down device diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs index c6dc4784e8c..b32c22f5806 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/SyncDevice/SyncDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs index f664ebaf836..da51d03de20 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/UpdateWindowsDeviceAccount/UpdateWindowsDeviceAccountRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(UpdateWindowsDeviceAccountPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.cs index 5216d42d420..56601f97b3b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Users/UsersRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the user objects. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs index b5b700d6a42..04774330b58 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderScan/WindowsDefenderScanRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WindowsDefenderScanPostRequestBody body, Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs index 1fd67adef4f..85a5676f2f1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsDefenderUpdateSignatures/WindowsDefenderUpdateSignaturesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Not yet documented diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs index 52c5ebde612..ecbafa5c33d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs index 6429359409d..ecf10aba5fc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/DetectedMalwareStateRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new windowsDeviceMalwareState object. @@ -81,7 +81,7 @@ public async Task PostAsync(WindowsDeviceMalwareState {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// List properties and relationships of the windowsDeviceMalwareState objects. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs index 1e92d1fe285..d80bf9d8273 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/DetectedMalwareState/Item/WindowsDeviceMalwareStateItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsDeviceMalwareState object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsDeviceMalwareState object. @@ -88,7 +88,7 @@ public async Task PatchAsync(WindowsDeviceMalwareStat {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, WindowsDeviceMalwareState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a windowsDeviceMalwareState. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs index b1b3bc9d062..9bc3064389c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/WindowsProtectionState/WindowsProtectionStateRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read properties and relationships of the windowsProtectionState object. @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a windowsProtectionState object. @@ -92,7 +92,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.WindowsProtectionState.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property windowsProtectionState for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs index c05cc90808b..d289384ec21 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/Item/Wipe/WipeRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WipePostRequestBody body, Action /// Wipe a device diff --git a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs index 11f7a94cdbb..f32b8826ec1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ManagedDevices/ManagedDevicesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to managedDevices for users @@ -79,7 +79,7 @@ public async Task PostAsync(ManagedDevice body, Action(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ManagedDevice.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The managed devices associated with the user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs index 5e8b91816d3..958b6211291 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Manager/ManagerRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Remove a user's manager. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs index 34d322ccb41..2afbf59dba5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Manager/Ref/RefRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Assign a user's manager. @@ -88,7 +88,7 @@ public async Task PutAsync(ReferenceUpdate body, Action /// Remove a user's manager. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Count/CountRequestBuilder.cs index 25961ea1659..2691cd42e0b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 7d018883902..c9dd6ceb753 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 722d6e30148..848139d8250 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs index 9d3a526b85a..bbe26bb18f4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 28288e3c191..31af2b7f9d9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs index 6f49be19bdd..e065a5364d7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs index 083daec9434..06cbe08bffd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs index 6bfa60a618e..9188a35f0e3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index f8803676940..44cf295987e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 60840159704..3a6a1ad82e6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index 37294b431cf..b10e56f9bc0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs index 0bddcea3cf1..c7f960a6972 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/MemberOf/MemberOfRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Count/CountRequestBuilder.cs index bf00dc01952..5425ec7ad95 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs index 8eac003d5df..e1d038c3617 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Delta/DeltaRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriatelyapplying state tokens in one or more of these calls, you can [query for incremental changes in the messages inthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages withouthaving to fetch the entire set of messages from the server every time. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs index eba6fa2f87e..1334eef92dd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/AttachmentsRequestBuilder.cs @@ -47,8 +47,8 @@ public AttachmentsRequestBuilder(Dictionary pathParameters, IReq public AttachmentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/attachments{?%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of attachment objects attached to a message. - /// Find more info here + /// Retrieve a list of attachment objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. You can add an attachment to an existing message by posting to its attachments collection, or you canadd an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB. @@ -86,10 +86,10 @@ public async Task PostAsync(Attachment body, Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -150,7 +150,7 @@ public AttachmentsRequestBuilder WithUrl(string rawUrl) { return new AttachmentsRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of attachment objects attached to a message. + /// Retrieve a list of attachment objects. /// public class AttachmentsRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs index e0285825bf9..3ac11feef58 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs index 9f576c45212..a382102d4f4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionPostRequestBody.cs @@ -17,14 +17,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.AttachmentItem? AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #nullable restore #else public Microsoft.Graph.Models.AttachmentItem AttachmentItem { - get { return BackingStore?.Get("AttachmentItem"); } - set { BackingStore?.Set("AttachmentItem", value); } + get { return BackingStore?.Get("attachmentItem"); } + set { BackingStore?.Set("attachmentItem", value); } } #endif /// Stores model information. @@ -49,7 +49,7 @@ public static CreateUploadSessionPostRequestBody CreateFromDiscriminatorValue(IP /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"AttachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, + {"attachmentItem", n => { AttachmentItem = n.GetObjectValue(Microsoft.Graph.Models.AttachmentItem.CreateFromDiscriminatorValue); } }, }; } /// @@ -58,7 +58,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("AttachmentItem", AttachmentItem); + writer.WriteObjectValue("attachmentItem", AttachmentItem); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index ed055e913c2..b64ac07d8b1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. Request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows transfer to be resumed, in case the network connection is dropped during upload. The following are the steps to attach a file to an Outlook item using an upload session: See attach large files to Outlook messages or events for an example. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs index b15d1cef8be..f2833e1a5a9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Attachments/Item/AttachmentItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Attachment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachments for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyPostRequestBody.cs index a9f02366cd9..1b59139f79b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyPostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.cs index f5373d2308a..e8c23d2a419 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Copy/CopyRequestBuilder.cs @@ -48,7 +48,7 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a message to a folder within the user's mailbox. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs index f4be62e8757..c964cc053b1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static CreateForwardPostRequestBody CreateFromDiscriminatorValue(IParseNo /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs index 6700673a9e9..7c67bf9a0f1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateForward/CreateForwardRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateForwardRequestBuilder(string rawUrl, IRequestAdapter requestAdapter {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, forward a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs index 2b87c55b30f..007cf848b20 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs index f815a8442c7..51d75da4724 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReply/CreateReplyRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply to a message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs index 14005868be3..cb6592d18c4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static CreateReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs index aece1a1b6e7..9ac465117f6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/CreateReplyAll/CreateReplyAllRequestBuilder.cs @@ -48,7 +48,7 @@ public CreateReplyAllRequestBuilder(string rawUrl, IRequestAdapter requestAdapte {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and toRecipients properties.- You can update the draft later to add reply content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. Send the draft message in a subsequent operation. Alternatively, reply-all to a message in a single action. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs index fdc6d389a60..2dbd3c5b65e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs index d7d136f2b8a..d40cd2f058d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. @@ -80,7 +80,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index bf10231aeaa..e0c77642e68 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -87,7 +87,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardPostRequestBody.cs index 8ade6fc8253..a34049d5f73 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardPostRequestBody.cs @@ -19,42 +19,42 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The ToRecipients property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? ToRecipients { - get { return BackingStore?.Get?>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get?>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #nullable restore #else public List ToRecipients { - get { return BackingStore?.Get>("ToRecipients"); } - set { BackingStore?.Set("ToRecipients", value); } + get { return BackingStore?.Get>("toRecipients"); } + set { BackingStore?.Set("toRecipients", value); } } #endif /// @@ -77,9 +77,9 @@ public static ForwardPostRequestBody CreateFromDiscriminatorValue(IParseNode par /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"ToRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } }, }; } /// @@ -88,9 +88,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); - writer.WriteCollectionOfObjectValues("ToRecipients", ToRecipients); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); + writer.WriteCollectionOfObjectValues("toRecipients", ToRecipients); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.cs index 385c7070f02..09a486c082a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Forward/ForwardRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ForwardPostRequestBody body, Action /// Forward a message using either JSON or MIME format. When using JSON format, you can:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to forward a message, and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs index b47f1d40755..4f4ede9bb10 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/MessageItemRequestBuilder.cs @@ -106,11 +106,11 @@ public async Task DeleteAsync(Action /// The messages in a mailbox or folder. Read-only. Nullable. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -126,11 +126,11 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a message object. - /// Find more info here + /// Update the properties of an eventMessage object. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -148,7 +148,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a message in the specified user's mailbox, or delete a relationship of the message. @@ -201,7 +201,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a message object. + /// Update the properties of an eventMessage object. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. @@ -268,9 +268,11 @@ public class MessageItemRequestBuilderGetQueryParameters { /// Include Hidden Messages #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenMessages")] public string? IncludeHiddenMessages { get; set; } #nullable restore #else + [QueryParameter("includeHiddenMessages")] public string IncludeHiddenMessages { get; set; } #endif /// Select properties to be returned diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MovePostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MovePostRequestBody.cs index 02cd41ff133..53cce864c94 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MovePostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MovePostRequestBody.cs @@ -18,14 +18,14 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #nullable restore #else public string DestinationId { - get { return BackingStore?.Get("DestinationId"); } - set { BackingStore?.Set("DestinationId", value); } + get { return BackingStore?.Get("destinationId"); } + set { BackingStore?.Set("destinationId", value); } } #endif /// @@ -48,7 +48,7 @@ public static MovePostRequestBody CreateFromDiscriminatorValue(IParseNode parseN /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"DestinationId", n => { DestinationId = n.GetStringValue(); } }, + {"destinationId", n => { DestinationId = n.GetStringValue(); } }, }; } /// @@ -57,7 +57,7 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("DestinationId", DestinationId); + writer.WriteStringValue("destinationId", DestinationId); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.cs index 54719b14c27..abdd63fa311 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Move/MoveRequestBuilder.cs @@ -48,7 +48,7 @@ public MoveRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyPostRequestBody.cs index ccb053aef19..6ea6314d917 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyPostRequestBody CreateFromDiscriminatorValue(IParseNode parse /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.cs index 2857c4abaa8..e53caaa47c2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Reply/ReplyRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyPostRequestBody body, Action /// Reply to the sender of a message using either JSON or MIME format. When using JSON format:* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply to an existing message and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs index 02f6fffb887..92ac2d28ac3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllPostRequestBody.cs @@ -19,28 +19,28 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public string? Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #nullable restore #else public string Comment { - get { return BackingStore?.Get("Comment"); } - set { BackingStore?.Set("Comment", value); } + get { return BackingStore?.Get("comment"); } + set { BackingStore?.Set("comment", value); } } #endif /// The Message property #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// @@ -63,8 +63,8 @@ public static ReplyAllPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Comment", n => { Comment = n.GetStringValue(); } }, - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"comment", n => { Comment = n.GetStringValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, }; } /// @@ -73,8 +73,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteStringValue("Comment", Comment); - writer.WriteObjectValue("Message", Message); + writer.WriteStringValue("comment", Comment); + writer.WriteObjectValue("message", Message); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs index 21ba52bc0e6..4482c2adf69 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/ReplyAll/ReplyAllRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ReplyAllPostRequestBody body, Action /// Reply to all recipients of a message using either JSON or MIME format. When using JSON format:- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- Add any attachments and S/MIME properties to the MIME content. This method saves the message in the Sent Items folder. Alternatively, create a draft to reply-all to a message and send it later. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.cs index cb3d34f263e..84752f95176 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Send/SendRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs index 1dcddf4c986..f39225de88e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property messages in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property messages from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs index 25515338d42..d71ac642668 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Messages/MessagesRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the message.- Update the draft later to add content to the body or change other message properties. When using MIME format:- Provide the applicable Internet message headers and the MIME content, all encoded in base64 format in the request body.- /* Add any attachments and S/MIME properties to the MIME content. By default, this operation saves the draft in the Drafts folder. Send the draft message in a subsequent operation. Alternatively, send a new message in a single operation, or create a draft to forward, reply and reply-all to an existing message. @@ -86,7 +86,7 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The messages in a mailbox or folder. Read-only. Nullable. @@ -179,9 +179,11 @@ public class MessagesRequestBuilderGetQueryParameters { /// Include Hidden Messages #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable + [QueryParameter("includeHiddenMessages")] public string? IncludeHiddenMessages { get; set; } #nullable restore #else + [QueryParameter("includeHiddenMessages")] public string IncludeHiddenMessages { get; set; } #endif /// Order items by property values diff --git a/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs index aa7a6d83fa5..05ed50e5d92 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs index a384e8425fb..a552756e1a7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Item/OAuth2PermissionGrantItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrant.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get oauth2PermissionGrants from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs index 1f79062dd00..34e79f3af70 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Oauth2PermissionGrants/Oauth2PermissionGrantsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OAuth2PermissionGrantCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of oAuth2PermissionGrant entities, which represent delegated permissions granted to enable a client application to access an API on behalf of the user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs index f92d25f5cfa..624d9beeb20 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs index 786ad3e9e62..23d32cce917 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetNotebookFromWebUrl/GetNotebookFromWebUrlRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(GetNotebookFromWebUrlPostRequestB {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, CopyNotebookModel.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of a notebook object by using its URL path. The location can be user notebooks on Microsoft 365, group notebooks, or SharePoint site-hosted team notebooks on Microsoft 365. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs index 46a35b56c3c..f3aaf3141f5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/GetRecentNotebooksWithIncludePersonalNotebooks/GetRecentNotebooksWithIncludePersonalNotebooksRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsy {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetRecentNotebooksWithIncludePersonalNotebooksResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getRecentNotebooks diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs index b17582087d5..bd876113a8b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/CopyNotebook/CopyNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyNotebookPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs index 7e71349411e..21568aabb00 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/NotebookItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a notebook object. @@ -80,7 +80,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property notebooks in users @@ -101,7 +101,7 @@ public async Task PatchAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property notebooks for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs index 5994d459fd2..ed145af5f89 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 7bb2d2ce500..2463dc11572 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 0e9f612c41a..2338a2a2640 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 5cdd3f260c2..9a656365a10 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// The section groups in the notebook. Read-only. Nullable. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in users @@ -105,7 +105,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index 21a19d2453b..5fbde2d99ca 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index bef67c48900..751c2386dca 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 7f3bf95979c..1ebde6c435f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index dcb5626212f..aa0cbbda0f7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 33415f119de..c829966b1b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 4d158e46471..4f6dd1baf5f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index ff753c5f9c9..d2912c1bdf6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in users @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 3f093e76c74..271200f839f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index ca06d6ae0bd..a12372cdebf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 41048c5e87f..5751d38473d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 217955ae8ca..38d882be7a4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in users @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index b4b4ebc3d69..feb52c5ef7d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 049aba51229..e6973c7b5f9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index e62771a562d..003ef63dbd2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 779fb29b73a..7081e93051a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index 4285d385eb8..d490d5744db 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index e7dadb19ae3..1c78b446c9e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index eb0c20e7ade..a929da35dd5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index f6281dfe566..747f9d09f20 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs index b0fea32cda6..8a871c33838 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new section group in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs index b682d4ecb48..75d36388dfe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index ebe1bdfe891..94d45f07984 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 5f9969b2576..ffad5f4a90e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index e1fc76de4f0..0251a72a556 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the notebook. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in users @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index 30beaa7521d..44b5e5eec9c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index 7beaa0e8f48..1527bd04616 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index f0b770f97c2..8cdc8916fbb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 78463084adc..2e711589a2f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in users @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 58a13ce39b6..c6f3c2a4246 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 17d2b7c36f7..ebcc881ecb6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index b0bc1aac2b0..840cd4fbad0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 40215ff4941..5e6b3cb5144 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs index d7f7c90a29b..63a8eeafb88 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index c37cf1e852e..3a429ab60b9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index ff5bf13824c..abf9c9c497b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs index 40063ac9833..dde70cdc383 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified notebook. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified notebook. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs index ea123478be1..5180db65c22 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Notebooks/NotebooksRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, NotebookCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the getRecentNotebooks method. @@ -95,7 +95,7 @@ public async Task PostAsync(Notebook body, Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of notebook objects. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/OnenoteRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/OnenoteRequestBuilder.cs index bcaa461550a..eeed05530ea 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/OnenoteRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/OnenoteRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// Get onenote from users @@ -94,7 +94,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property onenote in users @@ -115,7 +115,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Onenote.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property onenote for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Count/CountRequestBuilder.cs index a8278ea02e1..77718568838 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs index b1b5dc1da74..8e65ffb10c4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/Item/OnenoteOperationItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property operations in users @@ -86,7 +86,7 @@ public async Task PatchAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property operations for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.cs index c3ebe8ecf7a..24b97174972 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Operations/OperationsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to operations for users @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteOperation body, Action(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the status of a long-running OneNote operation. This applies to operations that return the Operation-Location header in the response, such as CopyNotebook, CopyToNotebook, CopyToSectionGroup, and CopyToSection. You can poll the Operation-Location endpoint until the status property returns completed or failed. If the status is completed, the resourceLocation property contains the resource endpoint URI. If the status is failed, the error and @api.diagnostics properties provide error information. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Count/CountRequestBuilder.cs index a8003bb5df0..7d58c70061b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs index e246fb48db2..ca5f45cceff 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index f7ef21e2fc4..d75d8d67c79 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs index 4b5567f033c..20e27f106d9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -76,7 +76,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a page object. Getting page information Access a page's metadata by page identifier: Getting page content You can use the page's content endpoint to get the HTML content of a page: The includeIDs=true query option is used to update pages. @@ -96,7 +96,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in users @@ -117,7 +117,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a OneNote page. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 2b275a06c4c..87adf520d90 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 2ae7dba7968..4f8dea38a87 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 9755864ee98..b42c6a06caa 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs index 1cf4e55b5c3..8e9be99b683 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.cs index 2be62a368c9..bf19e91635e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new OneNote page in the default section of the default notebook. To create a page in a different section in the default notebook, you can use the sectionName query parameter. Example: ../onenote/pages?sectionName=My%20section The POST /onenote/pages operation is used only to create pages in the current user's default notebook. If you're targeting other notebooks, you can create pages in a specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Count/CountRequestBuilder.cs index 85d402ef0c7..06aa4b6d528 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs index 2a6f6b9fd48..eafa5c7a57f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs index 0fe359c3d2c..5ca9afe09b9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/Item/OnenoteResourceItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property resources in users @@ -90,7 +90,7 @@ public async Task PatchAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property resources for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.cs index 7a82becc889..23d8352ed62 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Resources/ResourcesRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to resources for users @@ -79,7 +79,7 @@ public async Task PostAsync(OnenoteResource body, Action(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The image and other file resources in OneNote pages. Getting a resources collection is not supported, but you can get the binary content of a specific resource. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs index 792fc0c563f..3f6cdd98070 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 77861481293..d95bcb83927 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 33ff1f16dcb..cbe25b57406 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section group. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index eee4b3d585c..75309573348 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a sectionGroup object. @@ -85,7 +85,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sectionGroups in users @@ -106,7 +106,7 @@ public async Task PatchAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sectionGroups for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs index bd8aae46fc7..1db39c8e9ba 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs index 2040a213bec..8e1c5e13d1f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/Item/SectionGroupItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section groups in the section. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs index 28d7bc96f71..e42a7f898ec 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of section groups from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs index 4dfe2342b84..db282c24c6f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 0291239a3bb..9110ba281f0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index bd97bfbd5e9..21c3a5f1a15 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 38c893d3249..4ac73bc9806 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// The sections in the section group. Read-only. Nullable. @@ -89,7 +89,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in users @@ -110,7 +110,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs index e6a4d7f6017..4d5fa7daeb6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index d583a8a23fb..24d3f1d0b62 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index e0f6b51027d..1fe9d9cadd8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index 34d590c8d4f..a771c7b92fc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in users @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index 537323ffbf6..97c5c65e4b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 263afec218e..8dc19ad4865 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 365a245e054..c7205d5a769 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index e8efa8a1ca8..2dd865ed350 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs index e77c975eb41..319432cdcda 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 22bae118525..5799fcdc836 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 4cb0c3cda3e..939d7f6e8e9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs index c06c607bc4e..f9a7301d153 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/Item/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new onenoteSection in the specified section group. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects from the specified section group. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs index b6eb9841060..48b30b25a4f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/SectionGroups/SectionGroupsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sectionGroups for users @@ -80,7 +80,7 @@ public async Task PostAsync(SectionGroup body, Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of sectionGroup objects. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Count/CountRequestBuilder.cs index 71b3fd7d75c..b98a87eea46 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs index 5ea3ef5f026..d1180264d0f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToNotebook/CopyToNotebookRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToNotebookPostRequestBody body {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs index 7d0f5596a63..c4a6b072840 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/CopyToSectionGroup/CopyToSectionGroupRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionGroupPostRequestBody {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// For Copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs index 687c8828f16..189b9d267b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/OnenoteSectionItemRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a onenoteSection object. @@ -90,7 +90,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property sections in users @@ -111,7 +111,7 @@ public async Task PatchAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property sections for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs index 175cf7d5bad..9f2b0cbadd9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs index dfec14505ae..61c4ce35950 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Content/ContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. @@ -67,7 +67,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The page's HTML content. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs index 80cb10758d4..291ae1f7393 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/CopyToSection/CopyToSectionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CopyToSectionPostRequestBody body, {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Copy a page to a specific section. For copy operations, you follow an asynchronous calling pattern: First call the Copy action, and then poll the operation endpoint for the result. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs index aed688cbaf1..d68216679f6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePageItemRequestBuilder.cs @@ -75,7 +75,7 @@ public async Task DeleteAsync(Action /// The collection of pages in the section. Read-only. Nullable. @@ -94,7 +94,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property pages in users @@ -115,7 +115,7 @@ public async Task PatchAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property pages for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs index b9718621079..c25cf0b43e4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/OnenotePatchContent/OnenotePatchContentRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(OnenotePatchContentPostRequestBody body, Action /// Invoke action onenotePatchContent diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 9597657942c..0e9c97e763a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs index 89927b7f9d7..9dcc2138a4c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/ParentSection/ParentSectionRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section that contains the page. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs index 2ed541467aa..28b260f85da 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/Item/Preview/PreviewRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePagePreview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function preview diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs index cecc4ad2f71..1c706ed4e42 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/Pages/PagesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new page in the specified section. @@ -81,7 +81,7 @@ public async Task PostAsync(OnenotePage body, Action(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenotePage.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of page objects from the specified section. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs index 716a559d4c9..b8c3632b3ed 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentNotebook/ParentNotebookRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Notebook.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The notebook that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs index 6cad9e448d7..348c8d97e6c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/Item/ParentSectionGroup/ParentSectionGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SectionGroup.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The section group that contains the section. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.cs index 0976aecdf08..e64d52e4967 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Onenote/Sections/SectionsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSectionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to sections for users @@ -80,7 +80,7 @@ public async Task PostAsync(OnenoteSection body, Action(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnenoteSection.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of onenoteSection objects. diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Count/CountRequestBuilder.cs index 722573beca1..d4b45b1c30c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs index d1140512c5c..b35e352542c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/CreateOrGet/CreateOrGetRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateOrGetPostRequestBody body, Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an onlineMeeting object with a custom specified external ID. If the external ID already exists, this API will return the onlineMeeting object with that external ID. diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs index 349db2d2d5a..746f330381f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/AttendanceReportsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, MeetingAttendanceReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReportCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attendanceReports for users @@ -80,7 +80,7 @@ public async Task PostAsync(MeetingAttendanceReport bod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of meetingAttendanceReport objects for an onlineMeeting. Each time an online meeting ends, an attendance report is generated for that session. diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs index 2932c945a37..0440d32008a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs index bfa6f78d031..92b797c461b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/AttendanceRecordsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AttendanceRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecordCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to attendanceRecords for users @@ -80,7 +80,7 @@ public async Task PostAsync(AttendanceRecord body, Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of attendanceRecord objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs index 6e0cfb6d57f..c0b60e9ae89 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs index a925c17c142..69c16b7b595 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/AttendanceRecords/Item/AttendanceRecordItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// List of attendance records of an attendance report. Read-only. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attendanceRecords in users @@ -85,7 +85,7 @@ public async Task PatchAsync(AttendanceRecord body, Action(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttendanceRecord.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attendanceRecords for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs index f73a45ca09e..859218e0d83 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendanceReports/Item/MeetingAttendanceReportItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get the meetingAttendanceReport for an onlineMeeting. Each time an online meeting ends, an attendance report will be generated for that session. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attendanceReports in users @@ -91,7 +91,7 @@ public async Task PatchAsync(MeetingAttendanceReport bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, MeetingAttendanceReport.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attendanceReports for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs index 09e8b1c2d15..63c86232c96 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/AttendeeReport/AttendeeReportRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content stream of the attendee report of a Microsoft Teams live event. Read-only. diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs index ecadff1924a..775b971eaa9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/GetVirtualAppointmentJoinWebUrl/GetVirtualAppointmentJoinWebUrlRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, GetVirtualAppointmentJoinWebUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GetVirtualAppointmentJoinWebUrlResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function getVirtualAppointmentJoinWebUrl diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs index 393ef2724f5..14d3617a88a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/Item/OnlineMeetingItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report is an online meeting artifact. For details, see Online meeting artifacts and permissions. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the specified onlineMeeting object. Please see Request body section for the list of properties that support updating. @@ -103,7 +103,7 @@ public async Task PatchAsync(OnlineMeeting body, Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete an onlineMeeting object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.cs index 623c07a8266..fce51753b6b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OnlineMeetings/OnlineMeetingsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, OnlineMeetingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeetingCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an online meeting on behalf of a user. @@ -86,7 +86,7 @@ public async Task PostAsync(OnlineMeeting body, Action(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OnlineMeeting.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the properties and relationships of an onlineMeeting object. For example, you can: Teams live event attendee report is an online meeting artifact. For details, see Online meeting artifacts and permissions. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Count/CountRequestBuilder.cs index d913648efe5..457e2bd2465 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs index c54898416d6..6c6dad738f9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/Item/OutlookCategoryItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Get the properties and relationships of the specified outlookCategory object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the writable property, color, of the specified outlookCategory object. You cannot modify the displayName propertyonce you have created the category. @@ -88,7 +88,7 @@ public async Task PatchAsync(OutlookCategory body, Action(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete the specified outlookCategory object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs index 9ee5f6374c9..a5f502de8ab 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/MasterCategories/MasterCategoriesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, OutlookCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategoryCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an outlookCategory object in the user's master list of categories. @@ -81,7 +81,7 @@ public async Task PostAsync(OutlookCategory body, Action(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookCategory.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get all the categories that have been defined for the user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs index c20ed8246b1..09d19cf6d2b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/OutlookRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task GetAsync(Action(requestInfo, OutlookUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, OutlookUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the supportedTimeZones method. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs index 78f0640cc0b..b465ad8fc9c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedLanguages/SupportedLanguagesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, SupportedLanguagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SupportedLanguagesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of locales and languages that are supported for the user, as configured on the user's mailbox server. When setting up an Outlook client, the user selects the preferred language from this supported list. You can subsequently get the preferred language bygetting the user's mailbox settings. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs index 0f63013c20b..04e11374958 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZones/SupportedTimeZonesRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, SupportedTimeZonesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SupportedTimeZonesResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function supportedTimeZones diff --git a/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs index fa97cbc2f8e..9a61725d9b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Outlook/SupportedTimeZonesWithTimeZoneStandard/SupportedTimeZonesWithTimeZoneStandardRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task GetAsync(Actio {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, SupportedTimeZonesWithTimeZoneStandardResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, SupportedTimeZonesWithTimeZoneStandardResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function supportedTimeZones diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Count/CountRequestBuilder.cs index 3531c40b347..1058d06b260 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 702eae9d71f..980588ecf4c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index 3166179b564..62fce4c0567 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs index 5500313a8c4..73b50b69a1c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs index ba56b4944d5..2f360167444 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs index 9e59ce628f1..b40a5f9d00f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs index 658a203998c..df79a7cb1c7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs index b93e1f90fe9..5527e86c562 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are owned by the user. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index ba664765757..4a213cb741a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 304f325c08f..32bbcfd105d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 131c74919ba..7aca1c4d717 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.cs index 051c528645f..8b3f46883bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedDevices/OwnedDevicesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are owned by the user. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Count/CountRequestBuilder.cs index d77e60e7352..610f19eca5d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs index 9d6c4631810..4364e9914e7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs index db6d630c381..4bbf52bda55 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphApplication/GraphApplicationRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ApplicationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.application in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs index 66c6872ab7f..960b34d590b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs index 3e2db5adb58..9e4a826d45e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs index b4ae21692c5..cbd896e06cb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index 0576197db42..1467ef86882 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.servicePrincipal in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs index 853ee1b2bed..bcc05c7ff3a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs index ce3a8bffdb6..eb6a9e290e2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphApplication/GraphApplicationRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphApplicationRequestBuilder(string rawUrl, IRequestAdapter requestAdap {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Application.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.application diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs index c507dd42d44..b3557c09741 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs index c4ff640a832..a88837dfeff 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/Item/GraphServicePrincipal/GraphServicePrincipalRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.servicePrincipal diff --git a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs index 26aabd52022..67c2e7299b7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/OwnedObjects/OwnedObjectsRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Directory objects that are owned by the user. Read-only. Nullable. Supports $expand, $select nested in $expand, and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1). diff --git a/src/Microsoft.Graph/Generated/Users/Item/People/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/People/Count/CountRequestBuilder.cs index a77d0684c81..526e5242af2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/People/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/People/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/People/Item/PersonItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/People/Item/PersonItemRequestBuilder.cs index 23b76234be2..d007df35941 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/People/Item/PersonItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/People/Item/PersonItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Person.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Person.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// People that are relevant to the user. Read-only. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/People/PeopleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/People/PeopleRequestBuilder.cs index dbe2ae0320c..833b26d5b75 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/People/PeopleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/People/PeopleRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PersonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PersonCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a collection of person objects ordered by their relevance to the user, which is determined by the user's communication and collaboration patterns, and business relationships. You can get this information via the People API. For examples, see the Examples section and the article Use the People API to get information about the people most relevant to you. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photo/PhotoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Photo/PhotoRequestBuilder.cs index 40c54dd138e..7086f18f353 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photo/PhotoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Photo/PhotoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get the specified profilePhoto or its metadata (profilePhoto properties). The supported sizes of HD photos on Microsoft 365 are as follows: 48x48, 64x64, 96x96, 120x120, 240x240,360x360, 432x432, 504x504, and 648x648. Photos can be any dimension if they are stored in Azure Active Directory. You can get the metadata of the largest available photo, or specify a size to get the metadata for that photo size.If the size you request is not available, you can still get a smaller size that the user has uploaded and made available.For example, if the user uploads a photo that is 504x504 pixels, all but the 648x648 size of photo will be available for download. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property photo in users @@ -91,7 +91,7 @@ public async Task PatchAsync(ProfilePhoto body, Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property photo for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photo/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Photo/Value/ContentRequestBuilder.cs index dbda5a49435..8fe623a6a12 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photo/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Photo/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photo in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photo from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photos/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Photos/Count/CountRequestBuilder.cs index 25269119a3e..7df2a016129 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photos/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Photos/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs index 65df958ccec..b74c374a142 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/ProfilePhotoItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhoto.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get photos from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.cs index b01fb46ade8..8152b851094 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Photos/Item/Value/ContentRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property photos in users @@ -65,7 +65,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property photos from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs index 3089f4e0d58..998a88d7b93 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Photos/PhotosRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ProfilePhotoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ProfilePhotoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get photos from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs index f6ff67c4561..a31e5c65ca7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/PlannerRequestBuilder.cs @@ -55,7 +55,7 @@ public async Task DeleteAsync(Action /// Entry-point to the Planner resource that might exist for a user. Read-only. @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property planner in users @@ -95,7 +95,7 @@ public async Task PatchAsync(PlannerUser body, Action(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerUser.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property planner for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Count/CountRequestBuilder.cs index 0ab366402bd..ca71e90e511 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs index 33025ec3bc5..b0b7472890b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/BucketsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to buckets for users @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerBucket objects contained by a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs index 9079ed82042..d93d3afdfd2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs index 0436950a4bb..2db9f6fe90f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/PlannerBucketItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of buckets in the plan. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property buckets in users @@ -90,7 +90,7 @@ public async Task PatchAsync(PlannerBucket body, Action(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucket.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property buckets for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs index 09c6c4791ae..7826f42fbff 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index d7d3b3acdb5..19aa23504b4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 0931298e541..8384ed1fc9b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index a86c3ccb170..9df40412b46 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 16d4e573f2a..f190d84b305 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. The collection of tasks in the bucket. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in users @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 7dcd8c8402b..2590c11fb27 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs index fd9818a7af4..3fbe403dd7d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Buckets/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for users @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated to a plannerBucket object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs index cca7e1dc8c9..de0c41a316f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerPlanDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerPlanDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs index 271d242a850..3d274a40707 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Returns the plannerTasks assigned to the user. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property plans in users @@ -100,7 +100,7 @@ public async Task PatchAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property plans for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs index c10ecf90142..2bde473dde8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index 7251e88c645..042eb0e0d9d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 886b2cacd37..822d438c431 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs index b461e68816b..ff9bf81ffa1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 0618157a5c1..d0a52a51123 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Collection of tasks in the plan. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in users @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index 67b3cbcf859..1ea78a4a3d8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs index b12f02c263d..dc3cc6bf549 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/Item/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for users @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerTask objects associated with a plannerPlan object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.cs index a1cea14270b..b365e556a99 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Plans/PlansRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to plans for users @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerPlan body, Action(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerPlan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannerplan objects shared with a user object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Count/CountRequestBuilder.cs index b95a1ca9e13..cd4fc22fc03 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs index b33c2b7ee56..d839b3227b5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/AssignedToTaskBoardFormat/AssignedToTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerAssignedToTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property assignedToTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerAssign {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerAssignedToTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property assignedToTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs index 45f1af44430..d653c137a22 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/BucketTaskBoardFormat/BucketTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerBucketTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property bucketTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerBucketTask {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerBucketTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property bucketTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs index 0129d11588d..bd2a02c7c40 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/Details/DetailsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a plannerTaskDetails object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property details in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerTaskDetails body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskDetails.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property details for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs index 2159870d319..57ece2df221 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/PlannerTaskItemRequestBuilder.cs @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action /// Read-only. Nullable. Returns the plannerPlans shared with the user. @@ -84,7 +84,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property tasks in users @@ -105,7 +105,7 @@ public async Task PatchAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property tasks for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs index b2333c2c6c5..668b2aaa0a5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/Item/ProgressTaskBoardFormat/ProgressTaskBoardFormatRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of plannerProgressTaskBoardTaskFormat object. @@ -65,7 +65,7 @@ public async Task GetAsync(Action(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property progressTaskBoardFormat in users @@ -87,7 +87,7 @@ public async Task PatchAsync(PlannerProgress {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerProgressTaskBoardTaskFormat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property progressTaskBoardFormat for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.cs index dfa61b41e70..05d56233e03 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Planner/Tasks/TasksRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to tasks for users @@ -80,7 +80,7 @@ public async Task PostAsync(PlannerTask body, Action(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, PlannerTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve a list of plannertask objects assigned to a User. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.cs index 95c5a195934..45bb8122c19 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearPresence/ClearPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ClearPresencePostRequestBody body, Action /// Clear the application's presence session for a user. If it is the user's only presence session, the user's presence will change to Offline/Offline. For details about presences sessions, see presence: setPresence. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs index 903528444be..92e2f0feb0d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/ClearUserPreferredPresence/ClearUserPreferredPresenceRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Clear the preferred availability and activity status for a user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs index 0b9e8386116..dcbcc597995 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/PresenceRequestBuilder.cs @@ -70,7 +70,7 @@ public async Task DeleteAsync(Action /// Get a user's presence information. @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property presence in users @@ -111,7 +111,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Presence.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property presence for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.cs index 8f878d769db..9cd3444a136 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetPresence/SetPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetPresencePostRequestBody body, Action /// Set the state of a user's presence session as an application. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs index 46349902304..76a2c8112d3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetStatusMessage/SetStatusMessageRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(SetStatusMessagePostRequestBody body, Action /// Invoke action setStatusMessage diff --git a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs index fc0c08fbccf..4c980425339 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Presence/SetUserPreferredPresence/SetUserPreferredPresenceRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SetUserPreferredPresencePostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Set the preferred availability and activity status for a user. If the preferred presence of a user is set, the user's presence shows as the preferred status. Preferred presence takes effect only when at least one presence session exists for the user. Otherwise, the user's presence shows as Offline. A presence session is created as a result of a successful setPresence operation, or if the user is signed in on a Microsoft Teams client. For more details, see presence sessions and time-out and expiration. diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Count/CountRequestBuilder.cs index f33c8cedd8d..30de8c17820 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs index 13cb89cb165..16e5c3f0ffb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index cb5eb9a3b33..203d4fba08e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignmentCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.appRoleAssignment in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs index 024398213ea..3b5243b9b91 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs index 851eb71b3ea..f582732b8d2 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphDevice/GraphDeviceRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeviceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.device in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs index bf82f472138..c11eed87664 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs index 44264de44d2..48be663b3f4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, EndpointCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.endpoint in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs index 158ea3bbc3c..344e07f415a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are registered for the user. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs index b55cd025476..84901033cdc 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphAppRoleAssignment/GraphAppRoleAssignmentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AppRoleAssignment.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.appRoleAssignment diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs index 0df233e5ae2..afaa4127eea 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphDevice/GraphDeviceRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphDeviceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Device.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.device diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs index 19a41b33f41..4dcca43633a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/Item/GraphEndpoint/GraphEndpointRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Endpoint.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.endpoint diff --git a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.cs index d7ca9071122..7b084293643 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RegisteredDevices/RegisteredDevicesRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Devices that are registered for the user. Read-only. Nullable. Supports $expand. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs index b2de3cb05fa..fa2930c0cf0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ReminderViewWithStartDateTimeWithEndDateTime/ReminderViewWithStartDateTimeWithEndDateTimeRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task GetAsync {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ReminderViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ReminderViewWithStartDateTimeWithEndDateTimeResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function reminderView diff --git a/src/Microsoft.Graph/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs index 1971ad3ec97..eb91c7a9d3e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RemoveAllDevicesFromManagement/RemoveAllDevicesFromManagementRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action /// Retire all devices from management for this user diff --git a/src/Microsoft.Graph/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs index 5f0c5cd66b3..415d54b6d70 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ReprocessLicenseAssignment/ReprocessLicenseAssignmentRequestBuilder.cs @@ -46,7 +46,7 @@ public ReprocessLicenseAssignmentRequestBuilder(string rawUrl, IRequestAdapter r {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Reprocess all group-based license assignments for the user. To learn more about group-based licensing, see What is group-based licensing in Azure Active Directory. Also see Identify and resolve license assignment problems for a group in Azure Active Directory for more details. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs index bbde74e40bf..3974982d976 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Restore/RestoreRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task PostAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Restore a recently deleted application, group, servicePrincipal, administrative unit, or user object from deleted items. If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently. A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted. diff --git a/src/Microsoft.Graph/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs index de2613e148c..4ebba43d8ed 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RetryServiceProvisioning/RetryServiceProvisioningRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task PostAsync(Action /// Invoke action retryServiceProvisioning diff --git a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs index 6516540daaf..5f5185d01bd 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/RevokeSignInSessions/RevokeSignInSessionsRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task PostAsync(Action(requestInfo, RevokeSignInSessionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, RevokeSignInSessionsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invalidates all the refresh tokens issued to applications for a user (as well as session cookies in a user's browser), by resetting the signInSessionsValidFromDateTime user property to the current date-time. Typically, this operation is performed (by the user or an administrator) if the user has a lost or stolen device. This operation prevents access to the organization's data through applications on the device by requiring the user to sign in again to all applications that they have previously consented to, independent of device. diff --git a/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Count/CountRequestBuilder.cs index 0d1368ebd88..4c9b0feb8c7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs index d8160b1a837..fcd667abaad 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/Item/ScopedRoleMembershipItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Get scopedRoleMemberOf from users @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property scopedRoleMemberOf in users @@ -85,7 +85,7 @@ public async Task PatchAsync(ScopedRoleMembership body, Ac {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property scopedRoleMemberOf for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs index 4fbf8356e40..61d9b48d1b3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/ScopedRoleMemberOf/ScopedRoleMemberOfRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembershipCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to scopedRoleMemberOf for users @@ -79,7 +79,7 @@ public async Task PostAsync(ScopedRoleMembership body, Act {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ScopedRoleMembership.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get scopedRoleMemberOf from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs index 743079de532..eac8470ef56 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailPostRequestBody.cs @@ -19,20 +19,20 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public Microsoft.Graph.Models.Message? Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #nullable restore #else public Microsoft.Graph.Models.Message Message { - get { return BackingStore?.Get("Message"); } - set { BackingStore?.Set("Message", value); } + get { return BackingStore?.Get("message"); } + set { BackingStore?.Set("message", value); } } #endif /// The SaveToSentItems property public bool? SaveToSentItems { - get { return BackingStore?.Get("SaveToSentItems"); } - set { BackingStore?.Set("SaveToSentItems", value); } + get { return BackingStore?.Get("saveToSentItems"); } + set { BackingStore?.Set("saveToSentItems", value); } } /// /// Instantiates a new sendMailPostRequestBody and sets the default values. @@ -54,8 +54,8 @@ public static SendMailPostRequestBody CreateFromDiscriminatorValue(IParseNode pa /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"Message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, - {"SaveToSentItems", n => { SaveToSentItems = n.GetBoolValue(); } }, + {"message", n => { Message = n.GetObjectValue(Microsoft.Graph.Models.Message.CreateFromDiscriminatorValue); } }, + {"saveToSentItems", n => { SaveToSentItems = n.GetBoolValue(); } }, }; } /// @@ -64,8 +64,8 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteObjectValue("Message", Message); - writer.WriteBoolValue("SaveToSentItems", SaveToSentItems); + writer.WriteObjectValue("message", Message); + writer.WriteBoolValue("saveToSentItems", SaveToSentItems); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailRequestBuilder.cs index 50b33f0ad7b..9b36116fc4b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/SendMail/SendMailRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendMailPostRequestBody body, Action /// Send the message specified in the request body using either JSON or MIME format. When using JSON format, you can include a file attachment in the same sendMail action call. When using MIME format: This method saves the message in the Sent Items folder. Alternatively, create a draft message to send later. To learn more about the steps involved in the backend before a mail is delivered to recipients, see here. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs index dfb2548f801..aaae0ecb0d6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/SettingsRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Read the user and organization userSettings object.To learn how to update the properties of the userSettings object, see update user settings. @@ -70,7 +70,7 @@ public async Task GetAsync(Action(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of the userSettings object. Users in the same organization can have different settings based on their preference or on the organization policies. To get the user current settings, see current user settings. @@ -92,7 +92,7 @@ public async Task PatchAsync(UserSettings body, Action(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserSettings.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property settings for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs index 707faa19c51..00e44b81246 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Settings/ShiftPreferences/ShiftPreferencesRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// Retrieve the properties and relationships of a shiftPreferences object by ID. @@ -65,7 +65,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties and relationships of a shiftPreferences object. @@ -87,7 +87,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.ShiftPreferences.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property shiftPreferences for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs index 3ac8c775690..8946c229593 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/AssociatedTeamsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, AssociatedTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfoCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to associatedTeams for users @@ -80,7 +80,7 @@ public async Task PostAsync(AssociatedTeamInfo body, Action< {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the list of teams in Microsoft Teams that a user is associated with.Currently, a user can be associated with a team in two different ways:* A user can be a direct member of a team.* A user can be a member of a shared channel that is hosted inside a team. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs index 90b5d5412f1..2c2334182ca 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs index 4395dc11831..5dc1662095d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/AssociatedTeamInfoItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// The list of associatedTeamInfo objects that a user is associated with. @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property associatedTeams in users @@ -90,7 +90,7 @@ public async Task PatchAsync(AssociatedTeamInfo body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AssociatedTeamInfo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property associatedTeams for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs index 043dcfcea66..8c4d30d5547 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/AssociatedTeams/Item/Team/TeamRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Team.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get team from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Count/CountRequestBuilder.cs index 520c38afa87..6fe3595ce4a 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs index cfdcff849b1..ca10ec63784 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/InstalledAppsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Acti {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallationCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Install an app in the personal scope of the specified user. @@ -81,7 +81,7 @@ public async Task PostAsync(UserScopeTeamsAppInst {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the list of apps installed in the personal scope of the specified user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs index f45af0e557d..c9b23085cb9 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/Chat/ChatRequestBuilder.cs @@ -46,7 +46,7 @@ public ChatRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base( {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Chat.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Retrieve the chat of the specified user and Teams app. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs index 213199087aa..666b02d8ebe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsApp/TeamsAppRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The app that is installed. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs index 8ca2284cc4a..3c148360cee 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/TeamsAppDefinition/TeamsAppDefinitionRequestBuilder.cs @@ -45,7 +45,7 @@ public TeamsAppDefinitionRequestBuilder(string rawUrl, IRequestAdapter requestAd {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.TeamsAppDefinition.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The details of this version of the app. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs index 5e9255fd09e..8e7ffe9e008 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/InstalledApps/Item/UserScopeTeamsAppInstallationItemRequestBuilder.cs @@ -61,7 +61,7 @@ public async Task DeleteAsync(Action /// Retrieve the app installed in the personal scope of the specified user. @@ -81,7 +81,7 @@ public async Task GetAsync(Action(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property installedApps in users @@ -102,7 +102,7 @@ public async Task PatchAsync(UserScopeTeamsAppIns {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserScopeTeamsAppInstallation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Uninstall an app from the personal scope of the specified user. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs index a7a345e7331..ec58ce12e54 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/SendActivityNotification/SendActivityNotificationRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(SendActivityNotificationPostRequestBody body, Action {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Send an activity feed notification to a user. For more details about sending notifications and the requirements for doing so, see sending Teams activity notifications. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs index f78ff5d11a8..27cdc2380d4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Teamwork/TeamworkRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task DeleteAsync(Action /// A container for Microsoft Teams features available for the user. Read-only. Nullable. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property teamwork in users @@ -100,7 +100,7 @@ public async Task PatchAsync(UserTeamwork body, Action(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserTeamwork.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property teamwork for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Count/CountRequestBuilder.cs index 7511a102a3a..af550a335e3 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.cs index f2f730cce3a..5e42561fc88 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs index 506c18994e3..85e96f655b6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs index 5ca734be151..6a67353ffa7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for users @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the task list. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 90bcf0ae97b..16b9c168f5f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the task list. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs index d9f54e6d05a..e9ab762a860 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs index 1a6ba6cf436..29f3477fa2e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Delta/DeltaRequestBuilder.cs @@ -44,7 +44,7 @@ public async Task GetAsync(Action(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Invoke function delta diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs index f16a381f244..4248f05a1fe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/AttachmentSessionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSessionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get attachmentSessions from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs index 3564883a74b..9dc90f42754 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs index 0b0644c7c73..1c59d1ec415 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/AttachmentSessionItemRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Get attachmentSessions from users @@ -69,7 +69,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property attachmentSessions in users @@ -90,7 +90,7 @@ public async Task PatchAsync(AttachmentSession body, Action(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property attachmentSessions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs index 594971cfb33..f9786e5cce6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/AttachmentSessions/Item/Content/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content streams that are uploaded. @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The content streams that are uploaded. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs index 58d4b11592e..3a1294dbd54 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/AttachmentsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentBaseCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Add a new taskFileAttachment object to a todoTask. This operation limits the size of the attachment you can add to under 3 MB. If the size of the file attachments is more than 3 MB, create an upload session to upload the attachments. @@ -86,7 +86,7 @@ public async Task PostAsync(AttachmentBase body, Action(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the taskFileAttachment objects and their properties. The contentBytes property will not be returned in the response. Use the Get attachment API to view the contentBytes. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs index e2cd08288fd..88997cebd15 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs index ab0fc3fca89..0215c5ac5c7 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/CreateUploadSession/CreateUploadSessionRequestBuilder.cs @@ -48,7 +48,7 @@ public async Task PostAsync(CreateUploadSessionPostRequestBody bo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UploadSession.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create an upload session to iteratively upload ranges of a file as an attachment to a todoTask. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries. The request headers for each PUT operation let you specify the exact range of bytes to be uploaded. This allows the transfer to be resumed, in case the network connection is dropped during the upload. The following are the steps to attach a file to a Microsoft To Do task using an upload session: For an example that describes the end-to-end attachment process, see attach files to a To Do task. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs index 683e75fd893..168fcc00410 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/AttachmentBaseItemRequestBuilder.cs @@ -51,7 +51,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a taskFileAttachment object. @@ -71,7 +71,7 @@ public async Task GetAsync(Action(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AttachmentBase.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a taskFileAttachment object from a todoTask resource. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs index 40e993af616..134e5823e8b 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Attachments/Item/Value/ContentRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update media content for the navigation property attachments in users @@ -66,7 +66,7 @@ public async Task PutAsync(Stream body, Action(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get media content for the navigation property attachments from users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs index 104f3ae4ad3..55338b9bc3f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/ChecklistItemsRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, ChecklistItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItemCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new checklistItem object. @@ -81,7 +81,7 @@ public async Task PostAsync(ChecklistItem body, Action(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the checklistItem resources associated to a todoTask from the checklistItems navigation property. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs index 24689ce47e0..b12f7b4e23e 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs index f517dadedf8..56a37640b3d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/ChecklistItems/Item/ChecklistItemItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a checklistItem object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a checklistItem object. @@ -88,7 +88,7 @@ public async Task PatchAsync(ChecklistItem body, Action(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ChecklistItem.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete a checklistItem object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs index cee2aceefc8..9f9e15f26ef 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs index d3870116b6e..3c8e657a6a0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/ExtensionsRequestBuilder.cs @@ -58,7 +58,7 @@ public async Task GetAsync(Action(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, ExtensionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create new navigation property to extensions for users @@ -79,7 +79,7 @@ public async Task PostAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The collection of open extensions defined for the task. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs index 1a83da50d4f..d84f7dda212 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/Extensions/Item/ExtensionItemRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task DeleteAsync(Action /// The collection of open extensions defined for the task. Nullable. @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property extensions in users @@ -85,7 +85,7 @@ public async Task PatchAsync(Extension body, Action(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Extension.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property extensions for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs index 9197d90bb15..eff6936dcec 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs index 3ffcaf1bbb3..f56e7a7063d 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/Item/LinkedResourceItemRequestBuilder.cs @@ -46,7 +46,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a linkedResource object. @@ -66,7 +66,7 @@ public async Task GetAsync(Action(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a linkedResource object. @@ -88,7 +88,7 @@ public async Task PatchAsync(LinkedResource body, Action(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a linkedResource object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs index 0987360fd10..69f8bd4a8b8 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/LinkedResources/LinkedResourcesRequestBuilder.cs @@ -59,7 +59,7 @@ public async Task GetAsync(Action(requestInfo, LinkedResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResourceCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a linkedResource object to associate a specified task with an item in a partner application. For example, you can associate a task with an email item in Outlook that spurred the task, and you can create a linkedResource object to track its association. You can also create a linkedResource object while creating a task. @@ -81,7 +81,7 @@ public async Task PostAsync(LinkedResource body, Action(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, LinkedResource.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get information of one or more items in a partner application, based on which a specified task was created. The information is represented in a linkedResource object for each item. It includes an external ID for the item in the partner application, and if applicable, a deep link to that item in the application. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs index 759b1d6c93a..b85a0380ebb 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/Item/TodoTaskItemRequestBuilder.cs @@ -71,7 +71,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a todoTask object. @@ -91,7 +91,7 @@ public async Task GetAsync(Action(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a todoTask object. @@ -113,7 +113,7 @@ public async Task PatchAsync(TodoTask body, Action(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a todoTask object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs index 17a397beef8..40f1c037069 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/Tasks/TasksRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TodoTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new task object in a specified todoTaskList. @@ -86,7 +86,7 @@ public async Task PostAsync(TodoTask body, Action(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTask.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the todoTask resources from the tasks navigation property of a specified todoTaskList. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs index 097d5f11660..4f296b62f4f 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/Item/TodoTaskListItemRequestBuilder.cs @@ -56,7 +56,7 @@ public async Task DeleteAsync(Action /// Read the properties and relationships of a todoTaskList object. @@ -76,7 +76,7 @@ public async Task GetAsync(Action(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the properties of a todoTaskList object. @@ -98,7 +98,7 @@ public async Task PatchAsync(TodoTaskList body, Action(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Deletes a todoTaskList object. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.cs index 8b5384f3a11..6c01fadd3d4 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/Lists/ListsRequestBuilder.cs @@ -64,7 +64,7 @@ public async Task GetAsync(Action(requestInfo, TodoTaskListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskListCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new lists object. @@ -86,7 +86,7 @@ public async Task PostAsync(TodoTaskList body, Action(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TodoTaskList.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get a list of the todoTaskList objects and their properties. diff --git a/src/Microsoft.Graph/Generated/Users/Item/Todo/TodoRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/Todo/TodoRequestBuilder.cs index 96a2caf7577..77788da6f93 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/Todo/TodoRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/Todo/TodoRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task DeleteAsync(Action /// Represents the To Do services available to a user. @@ -69,7 +69,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Update the navigation property todo in users @@ -90,7 +90,7 @@ public async Task DeleteAsync(Action(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Todo.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Delete navigation property todo for users diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs index 0b7306c6d4f..4d5f48b9a94 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs index 6792d45cce9..9c3ac6e0e66 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index dbe638cf38e..52de48164d5 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, AdministrativeUnitCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.administrativeUnit in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs index 7754d4c5b3a..366c6a034df 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index 77ce4dfe1fc..1644648d5cf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRoleCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.directoryRole in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs index 7d1448821ee..564ad751339 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/Count/CountRequestBuilder.cs @@ -44,7 +44,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken); + return await RequestAdapter.SendPrimitiveAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the number of the resource diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs index 0da88bf3037..b0fdf62e854 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/GraphGroup/GraphGroupRequestBuilder.cs @@ -50,7 +50,7 @@ public async Task GetAsync(Action(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, GroupCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the items of type microsoft.graph.group in the microsoft.graph.directoryObject collection diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs index ff6eec0c584..8fa3e11e8bf 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/DirectoryObjectItemRequestBuilder.cs @@ -60,7 +60,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObject.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs index 1fb04a4b36c..cc77afd5242 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphAdministrativeUnit/GraphAdministrativeUnitRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphAdministrativeUnitRequestBuilder(string rawUrl, IRequestAdapter requ {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.AdministrativeUnit.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.administrativeUnit diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs index f724a248445..d2c9bfb45fe 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphDirectoryRole/GraphDirectoryRoleRequestBuilder.cs @@ -45,7 +45,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryRole.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.directoryRole diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs index ba2d82620b0..3d39a348dd1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/Item/GraphGroup/GraphGroupRequestBuilder.cs @@ -45,7 +45,7 @@ public GraphGroupRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.Group.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Get the item of type microsoft.graph.directoryObject as microsoft.graph.group diff --git a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs index 01e6ad2d6d6..672f3404dba 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TransitiveMemberOf/TransitiveMemberOfRequestBuilder.cs @@ -74,7 +74,7 @@ public async Task GetAsync(Action(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// The groups, including nested groups, and directory roles that a user is a member of. Nullable. diff --git a/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs b/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs index 87285715edc..3ddcb3f58d6 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsPostRequestBody.cs @@ -19,25 +19,25 @@ public IDictionary AdditionalData { #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER #nullable enable public List? InputIds { - get { return BackingStore?.Get?>("InputIds"); } - set { BackingStore?.Set("InputIds", value); } + get { return BackingStore?.Get?>("inputIds"); } + set { BackingStore?.Set("inputIds", value); } } #nullable restore #else public List InputIds { - get { return BackingStore?.Get>("InputIds"); } - set { BackingStore?.Set("InputIds", value); } + get { return BackingStore?.Get>("inputIds"); } + set { BackingStore?.Set("inputIds", value); } } #endif /// The SourceIdType property public ExchangeIdFormat? SourceIdType { - get { return BackingStore?.Get("SourceIdType"); } - set { BackingStore?.Set("SourceIdType", value); } + get { return BackingStore?.Get("sourceIdType"); } + set { BackingStore?.Set("sourceIdType", value); } } /// The TargetIdType property public ExchangeIdFormat? TargetIdType { - get { return BackingStore?.Get("TargetIdType"); } - set { BackingStore?.Set("TargetIdType", value); } + get { return BackingStore?.Get("targetIdType"); } + set { BackingStore?.Set("targetIdType", value); } } /// /// Instantiates a new translateExchangeIdsPostRequestBody and sets the default values. @@ -59,9 +59,9 @@ public static TranslateExchangeIdsPostRequestBody CreateFromDiscriminatorValue(I /// public IDictionary> GetFieldDeserializers() { return new Dictionary> { - {"InputIds", n => { InputIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, - {"SourceIdType", n => { SourceIdType = n.GetEnumValue(); } }, - {"TargetIdType", n => { TargetIdType = n.GetEnumValue(); } }, + {"inputIds", n => { InputIds = n.GetCollectionOfPrimitiveValues()?.ToList(); } }, + {"sourceIdType", n => { SourceIdType = n.GetEnumValue(); } }, + {"targetIdType", n => { TargetIdType = n.GetEnumValue(); } }, }; } /// @@ -70,9 +70,9 @@ public IDictionary> GetFieldDeserializers() { /// Serialization writer to use to serialize this model public void Serialize(ISerializationWriter writer) { _ = writer ?? throw new ArgumentNullException(nameof(writer)); - writer.WriteCollectionOfPrimitiveValues("InputIds", InputIds); - writer.WriteEnumValue("SourceIdType", SourceIdType); - writer.WriteEnumValue("TargetIdType", TargetIdType); + writer.WriteCollectionOfPrimitiveValues("inputIds", InputIds); + writer.WriteEnumValue("sourceIdType", SourceIdType); + writer.WriteEnumValue("targetIdType", TargetIdType); writer.WriteAdditionalData(AdditionalData); } } diff --git a/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs index 3b45e71fa1a..fbfa27085d1 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/TranslateExchangeIds/TranslateExchangeIdsRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(TranslateExchangeIdsPo {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, TranslateExchangeIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, TranslateExchangeIdsResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Translate identifiers of Outlook-related resources between formats. diff --git a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs index 085688455be..2322e7f4af0 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/UserItemRequestBuilder.cs @@ -377,7 +377,7 @@ public UserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : b } /// /// Deletes a user. - /// Find more info here + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -393,7 +393,7 @@ public async Task DeleteAsync(Action /// Provides operations to call the exportDeviceAndAppManagementData method. @@ -423,11 +423,11 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Update the properties of a user object. - /// Find more info here + /// Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. + /// Find more info here /// /// The request body /// Cancellation token to use when cancelling requests @@ -445,7 +445,7 @@ public ExportDeviceAndAppManagementDataWithSkipWithTopRequestBuilder ExportDevic {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Provides operations to call the reminderView method. @@ -508,7 +508,7 @@ public RequestInformation ToGetRequestInformation(Action - /// Update the properties of a user object. + /// Update the properties of a user object. Not all properties can be updated by Member or Guest users with their default permissions without Administrator roles. Compare member and guest default permissions to see properties they can manage. /// /// The request body /// Configuration for the request such as headers, query parameters, and middleware options. diff --git a/src/Microsoft.Graph/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs index 08c6c28a4d0..a54cd80b94c 100644 --- a/src/Microsoft.Graph/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/Item/WipeManagedAppRegistrationsByDeviceTag/WipeManagedAppRegistrationsByDeviceTagRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(WipeManagedAppRegistrationsByDeviceTagPostRequestBod {"4XX", ODataError.CreateFromDiscriminatorValue}, {"5XX", ODataError.CreateFromDiscriminatorValue}, }; - await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken); + await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Issues a wipe operation on an app registration with specified device tag. diff --git a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs index 78164363189..df86d5ee5c4 100644 --- a/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/UsersRequestBuilder.cs @@ -62,8 +62,8 @@ public UsersRequestBuilder(Dictionary pathParameters, IRequestAd public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/users{?%24top,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) { } /// - /// Retrieve a list of user objects. - /// Find more info here + /// List properties and relationships of the user objects. + /// Find more info here /// /// Cancellation token to use when cancelling requests /// Configuration for the request such as headers, query parameters, and middleware options. @@ -79,7 +79,7 @@ public async Task GetAsync(Action(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, UserCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// /// Create a new user object. @@ -101,10 +101,10 @@ public async Task GetAsync(Action(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken); + return await RequestAdapter.SendAsync(requestInfo, Microsoft.Graph.Models.User.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false); } /// - /// Retrieve a list of user objects. + /// List properties and relationships of the user objects. /// /// Configuration for the request such as headers, query parameters, and middleware options. #if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER @@ -165,7 +165,7 @@ public UsersRequestBuilder WithUrl(string rawUrl) { return new UsersRequestBuilder(rawUrl, RequestAdapter); } /// - /// Retrieve a list of user objects. + /// List properties and relationships of the user objects. /// public class UsersRequestBuilderGetQueryParameters { /// Include count of items diff --git a/src/Microsoft.Graph/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.cs b/src/Microsoft.Graph/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.cs index 58c0743a08a..68e6f47e3a4 100644 --- a/src/Microsoft.Graph/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.cs +++ b/src/Microsoft.Graph/Generated/Users/ValidateProperties/ValidatePropertiesRequestBuilder.cs @@ -47,7 +47,7 @@ public async Task PostAsync(ValidatePropertiesPostRequestBody body, Action /// Validate that a Microsoft 365 group's display name or mail nickname complies with naming policies. Clients can use this API to determine whether a display name or mail nickname is valid before trying to create a Microsoft 365 group. To validate the properties of an existing group, use the group: validateProperties function. The following policy validations are performed for the display name and mail nickname properties:1. Validate the prefix and suffix naming policy2. Validate the custom banned words policy3. Validate that the mail nickname is unique This API only returns the first validation failure that is encountered. If the properties fail multiple validations, only the first validation failure is returned. However, you can validate both the mail nickname and the display name and receive a collection of validation errors if you are only validating the prefix and suffix naming policy. To learn more about configuring naming policies, see Configure naming policy. diff --git a/src/Microsoft.Graph/Generated/kiota-lock.json b/src/Microsoft.Graph/Generated/kiota-lock.json index 381eda1557d..5aa5b5f940e 100644 --- a/src/Microsoft.Graph/Generated/kiota-lock.json +++ b/src/Microsoft.Graph/Generated/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "C4A7623C98F6ABEB4B8870A6321EB305A62025D73C9824FD56A344D4EC571149DD4816435F5D20A1F94F04F2BDC7D97FF1C5F83E9F77020B78505C6611E049C4", + "descriptionHash": "9E61B3EE3A16FD030A52358975B04302F4D0AF8109A7F568426F37096C93A9161ADC87308950B8FE9736C3EB94EDA34189795F3F9CD3C2C510EE659C1E3FDDBE", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.6.0", + "kiotaVersion": "1.7.0", "clientClassName": "BaseGraphServiceClient", "clientNamespaceName": "Microsoft.Graph", "language": "CSharp", diff --git a/src/Microsoft.Graph/Microsoft.Graph.csproj b/src/Microsoft.Graph/Microsoft.Graph.csproj index b0271fcf8a0..aa1c341c858 100644 --- a/src/Microsoft.Graph/Microsoft.Graph.csproj +++ b/src/Microsoft.Graph/Microsoft.Graph.csproj @@ -22,7 +22,7 @@ false 35MSSharedLib1024.snk true - 5.26.0 + 5.27.0